svn commit: r327176 - in head/net-mgmt: xymon-client/files xymon-server/files

Mark Felder feld at FreeBSD.org
Fri Sep 13 18:58:12 UTC 2013


Author: feld
Date: Fri Sep 13 18:58:11 2013
New Revision: 327176
URL: http://svnweb.freebsd.org/changeset/ports/327176

Log:
  Fix building on HEAD with no GCC
  
  Approved by:	swills (mentor)

Added:
  head/net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD   (contents, props changed)
  head/net-mgmt/xymon-server/files/patch-build-Makefile.FreeBSD   (contents, props changed)

Added: head/net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/xymon-client/files/patch-build-Makefile.FreeBSD	Fri Sep 13 18:58:11 2013	(r327176)
@@ -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,"

Added: head/net-mgmt/xymon-server/files/patch-build-Makefile.FreeBSD
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/xymon-server/files/patch-build-Makefile.FreeBSD	Fri Sep 13 18:58:11 2013	(r327176)
@@ -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,"


More information about the svn-ports-all mailing list