[Custom LOCALBASE/PREFIX] net-mgmt/p5-SNMP - fails: makefile

Cezary Morga cm at therek.net
Thu Jul 9 21:12:35 UTC 2009


QAT at freebsd.org pisze:
> The Restless Daemon identified a makefile error while trying to build:
>  p5-SNMP-4.2.7.1 maintained by perl at 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)
-------------- next part --------------
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 \


More information about the freebsd-perl mailing list