diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-24 15:00:15 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-24 15:00:15 +0000 |
commit | 19954bc0f868cb0e10a019f28b91e69e6e68633d (patch) | |
tree | 88f2027fd26578d130551b8d4f15e028fc72eafc /net/shaperprobe | |
parent | 0f7c79edd7ee2df839ea1173ada8ddb6e82c1c58 (diff) | |
download | ports-19954bc0f868cb0e10a019f28b91e69e6e68633d.tar.gz ports-19954bc0f868cb0e10a019f28b91e69e6e68633d.zip |
Notes
Diffstat (limited to 'net/shaperprobe')
-rw-r--r-- | net/shaperprobe/Makefile | 5 | ||||
-rw-r--r-- | net/shaperprobe/files/patch-Makefile.osx | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/net/shaperprobe/Makefile b/net/shaperprobe/Makefile index be6d7bb0ca61..c9c7a456d08f 100644 --- a/net/shaperprobe/Makefile +++ b/net/shaperprobe/Makefile @@ -13,11 +13,12 @@ COMMENT= Utility to check for traffic shapers 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> diff --git a/net/shaperprobe/files/patch-Makefile.osx b/net/shaperprobe/files/patch-Makefile.osx new file mode 100644 index 000000000000..617fe99b9e10 --- /dev/null +++ b/net/shaperprobe/files/patch-Makefile.osx @@ -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 |