From bce9b81f9d6099820f3839d7809d6b08c1d2ae7b Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 19 Apr 2008 17:56:05 +0000 Subject: - 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) --- math/bamg/Makefile | 4 ++-- math/bamg/files/patch-FLAG.linux | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'math/bamg') diff --git a/math/bamg/Makefile b/math/bamg/Makefile index f7ad0f3..7d36522 100644 --- a/math/bamg/Makefile +++ b/math/bamg/Makefile @@ -7,7 +7,7 @@ PORTNAME= bamg PORTVERSION= 0.68 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math science MASTER_SITES= http://pauillac.inria.fr/cdrom/ftp/bamg/ \ http://www-rocq1.inria.fr/gamma/cdrom/ftp/bamg/ \ @@ -24,7 +24,7 @@ RESTRICTED= No resale, contact author for commercial usage WRKSRC= ${WRKDIR}/${PORTNAME} -USE_XLIB= yes +USE_XORG= x11 USE_GMAKE= yes ALL_TARGET= world diff --git a/math/bamg/files/patch-FLAG.linux b/math/bamg/files/patch-FLAG.linux index c16f16c..fa2fd9f 100644 --- a/math/bamg/files/patch-FLAG.linux +++ b/math/bamg/files/patch-FLAG.linux @@ -10,12 +10,12 @@ +O = $(longlong) +G = +CXXFLAGS+= $(O) -+CXXGRAPHIC = $(CXXFLAGS) -I$(X11BASE)/include -DDRAWING -DDEBUG ++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$(X11BASE)/lib -lX11 -+X11INCLUDE= -I$(X11BASE)/include ++X11LIB = -L$(LOCALBASE)/lib -lX11 ++X11INCLUDE= -I$(LOCALBASE)/include STDLIB = -F77FLAGS = -F77 = f77 -- cgit v1.1