diff options
author | Mark Felder <feld@FreeBSD.org> | 2013-09-13 18:58:11 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2013-09-13 18:58:11 +0000 |
commit | 191cb29bac45bf574d400d9c0a3d9326fa92c293 (patch) | |
tree | 8e379a7893c4348d2f4c0665048de33ad351899f /net-mgmt/xymon-client | |
parent | 4862d488e969348f08980f622a858202f0d27e31 (diff) | |
download | ports-191cb29bac45bf574d400d9c0a3d9326fa92c293.tar.gz ports-191cb29bac45bf574d400d9c0a3d9326fa92c293.zip |
Notes
Diffstat (limited to 'net-mgmt/xymon-client')
-rw-r--r-- | net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD b/net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD new file mode 100644 index 000000000000..62921e164092 --- /dev/null +++ b/net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD @@ -0,0 +1,18 @@ +--- build/Makefile.FreeBSD.orig 2013-09-13 09:58:10.760876623 -0500 ++++ build/Makefile.FreeBSD 2013-09-13 09:58:57.823389711 -0500 +@@ -6,13 +6,8 @@ + NETLIBS = + + # Compile flags for normal build +-CC = gcc +-GCCVER := $(shell gcc -dumpversion|cut -d. -f1) +-ifeq ($(GCCVER),4) +- CFLAGS = -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -I/usr/local/include -L/usr/local/lib $(LFSDEF) $(OSDEF) +-else +- CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib $(LFSDEF) $(OSDEF) +-endif ++CC ?= gcc ++CFLAGS = -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -I/usr/local/include -L/usr/local/lib $(LFSDEF) $(OSDEF) + + + RPATH = "-Wl,--rpath," |