freebsd-ports/math/bamg/files/patch-FLAG.linux
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

24 lines
612 B
Plaintext

--- FLAG.linux.orig Fri May 29 18:33:51 1998
+++ FLAG.linux Fri Dec 19 11:24:28 2003
@@ -1,12 +1,11 @@
-CXX=g++
longlong = -DLONGLONG
-O = -O $(longlong)
-G = -g $(longlong)
-CXXFLAGS= $(O)
-CXXGRAPHIC = -I/usr/include/X11R6 -DDRAWING -DDEBUG
+O = $(longlong)
+G =
+CXXFLAGS+= $(O)
+CXXGRAPHIC = $(CXXFLAGS) -I$(LOCALBASE)/include -DDRAWING -DDEBUG
CXXLINKFLAG =
-X11LIB = -L/usr/lib/X11R6 -L/usr/X11R6/lib -lX11
-X11INCLUDE= -I/usr/include/X11R6
+X11LIB = -L$(LOCALBASE)/lib -lX11
+X11INCLUDE= -I$(LOCALBASE)/include
STDLIB =
-F77FLAGS =
-F77 = f77
+F77FLAGS = $(FFLAGS)
+F77 = $(F77)