Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 13:33:39 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373901 - head/net-mgmt/p5-Cflow
Message-ID:  <201412041333.sB4DXd3p020736@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Dec  4 13:33:38 2014
New Revision: 373901
URL: https://svnweb.freebsd.org/changeset/ports/373901
QAT: https://qat.redports.org/buildarchive/r373901/

Log:
  Don't overwrite Perl's LDDLFLAGS.
  
  With hat:	perl@
  Sponsored by:	Absolight

Modified:
  head/net-mgmt/p5-Cflow/Makefile

Modified: head/net-mgmt/p5-Cflow/Makefile
==============================================================================
--- head/net-mgmt/p5-Cflow/Makefile	Thu Dec  4 13:29:32 2014	(r373900)
+++ head/net-mgmt/p5-Cflow/Makefile	Thu Dec  4 13:33:38 2014	(r373901)
@@ -21,23 +21,12 @@ FLOW_TOOLS_NG_DESC=	Enable flow-tools-ng
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.options.mk>
+FLOW_TOOLS_BUILD_DEPENDS=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
+FLOW_TOOLS_RUN_DEPENDS=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
+FLOW_TOOLS_NG_BUILD_DEPENDS=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools-ng
+FLOW_TOOLS_NG_RUN_DEPENDS=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools-ng
 
-.if ${PORT_OPTIONS:MFLOW_TOOLS}
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
-RUN_DEPENDS+=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
-.endif
-
-.if ${PORT_OPTIONS:MFLOW_TOOLS_NG}
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools-ng
-RUN_DEPENDS+=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools-ng
-.endif
-
-.if ${PORT_OPTIONS:MFLOW_TOOLS}||${PORT_OPTIONS:MFLOW_TOOLS_NG}
-CFLAGS+=	-I${LOCALBASE}/include -DOSU
-CONFIGURE_ARGS+=	\
-	"LDDLFLAGS= -shared -L${LOCALBASE}/lib -lft -lz" \
-	"INC= -I${LOCALBASE}/include" "LDLOADLIBS= -L${LOCALBASE}/lib -lft -lz"
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e 's|\.\./\.\./lib|${LOCALBASE}/lib|g' ${WRKSRC}/Makefile.PL
 
 .include <bsd.port.mk>



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