svn commit: r346470 - head/net/rtpbreak

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 28 08:59:47 UTC 2014


Author: ehaupt
Date: Fri Feb 28 08:59:46 2014
New Revision: 346470
URL: http://svnweb.freebsd.org/changeset/ports/346470
QAT: https://qat.redports.org/buildarchive/r346470/

Log:
  - Support staging
  - Respect CFLAGS
  - Don't force -O3 compiler optimization

Modified:
  head/net/rtpbreak/Makefile

Modified: head/net/rtpbreak/Makefile
==============================================================================
--- head/net/rtpbreak/Makefile	Fri Feb 28 08:55:29 2014	(r346469)
+++ head/net/rtpbreak/Makefile	Fri Feb 28 08:59:46 2014	(r346470)
@@ -13,13 +13,14 @@ COMMENT=	Detects, reconstructs, and anal
 
 LIB_DEPENDS=	net:${PORTSDIR}/net/libnet
 
-MAKE_ARGS+=	CFLAGS="-Wall -O3 -I${LOCALBASE}/include/libnet11" \
-		LIBS="-L${LOCALBASE}/lib/libnet11 -lpcap -lnet"
+CFLAGS+=	-I${LOCALBASE}/include/libnet11
+LIBS+=		-L${LOCALBASE}/lib/libnet11 -lpcap -lnet
+
+MAKE_ARGS=	CFLAGS="${CFLAGS}" LIBS="${LIBS}"
 
 PLIST_FILES=	bin/rtpbreak
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/rtpbreak ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/rtpbreak ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list