Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 2009 23:12:31 +0200
From:      Cezary Morga <cm@therek.net>
To:        QAT@freebsd.org
Cc:        perl@freebsd.org
Subject:   Re: [Custom LOCALBASE/PREFIX] net-mgmt/p5-SNMP - fails: makefile
Message-ID:  <4A565D3F.8020903@therek.net>
In-Reply-To: <20090626154720.157638FCB7@release.ixsystems.com>
References:  <20090626154720.157638FCB7@release.ixsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080907030304080805030604
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit

QAT@freebsd.org pisze:
> The Restless Daemon identified a makefile error while trying to build:
>  p5-SNMP-4.2.7.1 maintained by perl@FreeBSD.org
>  Makefile ident: $FreeBSD: ports/net-mgmt/p5-SNMP/Makefile,v 1.27 2008/09/26 14:43:11 clsung Exp $
> 
> THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest.
> Patches for testing and committing welcomed as a reply to this email.

Patch in attachment.

-- 
Cezary Morga
"We are generally better persuaded by the reasons we discover ourselves 
than by those given to us by others." (Blaise Pascal)

--------------080907030304080805030604
Content-Type: text/plain;
 name="patch-p5-SNMP.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-p5-SNMP.diff"

diff -ruN net-mgmt/p5-SNMP.orig/Makefile net-mgmt/p5-SNMP/Makefile
--- net-mgmt/p5-SNMP.orig/Makefile	2009-02-18 11:36:02.000000000 +0000
+++ net-mgmt/p5-SNMP/Makefile	2009-07-09 21:05:41.281125537 +0000
@@ -21,6 +21,7 @@
 WRKSRC=		${WRKDIR}/${DISTNAME}/perl/SNMP
 
 PERL_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--NET-SNMP-PATH=${PREFIX}
 
 post-install:
 		@${INSTALL_DATA} ${WRKSRC}/README \

--------------080907030304080805030604--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A565D3F.8020903>