aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/xymon-client
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2013-09-13 18:58:11 +0000
committerMark Felder <feld@FreeBSD.org>2013-09-13 18:58:11 +0000
commit191cb29bac45bf574d400d9c0a3d9326fa92c293 (patch)
tree8e379a7893c4348d2f4c0665048de33ad351899f /net-mgmt/xymon-client
parent4862d488e969348f08980f622a858202f0d27e31 (diff)
downloadports-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.FreeBSD18
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,"