aboutsummaryrefslogtreecommitdiffstats
path: root/math/xldlas
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /math/xldlas
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- 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)
Diffstat (limited to 'math/xldlas')
-rw-r--r--math/xldlas/Makefile4
-rw-r--r--math/xldlas/files/patch-aa10
2 files changed, 6 insertions, 8 deletions
diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile
index 119c5bfbf179..04090b5967f2 100644
--- a/math/xldlas/Makefile
+++ b/math/xldlas/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xldlas
PORTVERSION= 0.85
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/visualization
@@ -20,8 +20,6 @@ LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
WRKSRC= ${WRKDIR}/xldlas
-USE_X_PREFIX= yes
-
MAN1= xldlas.1
do-install:
diff --git a/math/xldlas/files/patch-aa b/math/xldlas/files/patch-aa
index a8cc4e74a7cf..6dacb936d663 100644
--- a/math/xldlas/files/patch-aa
+++ b/math/xldlas/files/patch-aa
@@ -9,14 +9,14 @@
-COMMONLIBS = -L/usr/X11R6/lib/ -lX11 -lm
-SHAREDLIBS = -lforms
-STATICLIBS = -lXpm /usr/X11R6/lib/libforms.a
-+.if exists(${X11BASE}/include/X11/forms.h)
-+XFORMSINC = -I${X11BASE}/include/X11
++.if exists(${LOCALBASE}/include/X11/forms.h)
++XFORMSINC = -I${LOCALBASE}/include/X11
+.endif
-+CCFLAG = $(CFLAGS) -DXFORMS86 -DPREFIX=\"$(PREFIX)\" -I$(X11BASE)/include ${XFORMSINC}
++CCFLAG = $(CFLAGS) -DXFORMS86 -DPREFIX=\"$(PREFIX)\" -I$(LOCALBASE)/include ${XFORMSINC}
+#CC = gcc
-+COMMONLIBS = -L$(X11BASE)/lib/ -lX11 -lm
++COMMONLIBS = -L$(LOCALBASE)/lib/ -lX11 -lm
+SHAREDLIBS = -lforms -lXpm
-+STATICLIBS = $(X11BASE)/lib/libxforms.a -lXpm
++STATICLIBS = $(LOCALBASE)/lib/libxforms.a -lXpm
ECHO = echo
RM = rm
RMOPTS = -f