svn commit: r345859 - in head/net/shaperprobe: . files

Emanuel Haupt ehaupt at FreeBSD.org
Mon Feb 24 15:00:16 UTC 2014


Author: ehaupt
Date: Mon Feb 24 15:00:15 2014
New Revision: 345859
URL: http://svnweb.freebsd.org/changeset/ports/345859
QAT: https://qat.redports.org/buildarchive/r345859/

Log:
  - Support staging
  - Respect CC
  - Respect CFLAGS
  - This port does not build with clang, use gcc

Added:
  head/net/shaperprobe/files/patch-Makefile.osx   (contents, props changed)
Modified:
  head/net/shaperprobe/Makefile

Modified: head/net/shaperprobe/Makefile
==============================================================================
--- head/net/shaperprobe/Makefile	Mon Feb 24 14:59:30 2014	(r345858)
+++ head/net/shaperprobe/Makefile	Mon Feb 24 15:00:15 2014	(r345859)
@@ -13,11 +13,12 @@ COMMENT=	Utility to check for traffic sh
 
 LICENSE=	GPLv2
 
+USE_GCC=	yes
+
 MAKEFILE=	Makefile.osx
 PLIST_FILES=	bin/prober
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/prober ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/prober ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Added: head/net/shaperprobe/files/patch-Makefile.osx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/shaperprobe/files/patch-Makefile.osx	Mon Feb 24 15:00:15 2014	(r345859)
@@ -0,0 +1,12 @@
+--- Makefile.osx.orig	2012-01-24 21:33:22.000000000 +0100
++++ Makefile.osx	2014-02-24 15:57:22.575172070 +0100
+@@ -1,7 +1,7 @@
+ 
+-CC=gcc
++CC?=gcc
+ 
+-CFLAGS=-c -Wall -O3 -fno-strict-aliasing -DOSX
++CFLAGS+=-c -DOSX
+ LDFLAGS=-lm
+ 
+ SOURCES=prober.c tcp_client.c tcpserver.c wrappers.c tbdetect.c measflow.c


More information about the svn-ports-all mailing list