Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 08:59:46 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346470 - head/net/rtpbreak
Message-ID:  <201402280859.s1S8xkGQ087322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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