Date: Fri, 19 Jul 2013 14:49:18 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323299 - head/editors/manedit/files Message-ID: <201307191449.r6JEnIkV011558@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Fri Jul 19 14:49:17 2013 New Revision: 323299 URL: http://svnweb.freebsd.org/changeset/ports/323299 Log: Don't pass default CFLAGS to c++ Fixes compilation with clang Added: head/editors/manedit/files/patch-Makefile.FreeBSD (contents, props changed) Added: head/editors/manedit/files/patch-Makefile.FreeBSD ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/manedit/files/patch-Makefile.FreeBSD Fri Jul 19 14:49:17 2013 (r323299) @@ -0,0 +1,23 @@ +--- Makefile.FreeBSD.orig 2013-07-19 16:44:02.000000000 +0200 ++++ Makefile.FreeBSD 2013-07-19 16:44:28.000000000 +0200 +@@ -56,7 +56,10 @@ CFLAGS += $(GTK_CFLAGS) -O2 -Wall \ + -DPREFIX=\"$(PREFIX)\" \ + -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" + +-CPPFLAGS = -D__cplusplus -Dc_plusplus ++CPPFLAGS = $(CXXFLAGS) $(GTK_CFLAGS) -O2 -Wall \ ++ -DPREFIX=\"$(PREFIX)\" \ ++ -DLOCALBASE=\"$(LOCALBASE)\" -DX11BASE=\"$(X11BASE)\" \ ++ -D__cplusplus -Dc_plusplus + + + # ######################################################################## +@@ -109,7 +112,7 @@ OBJ_CPP = $(SRC_CPP:.cpp=.o) + .c.o: + $(CC) -c $*.c $(INC) $(CFLAGS) + .cpp.o: +- $(CPP) -c $*.cpp $(INC) $(CFLAGS) $(CPPFLAGS) ++ $(CPP) -c $*.cpp $(INC) $(CPPFLAGS) + + + # ########################################################################
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307191449.r6JEnIkV011558>