aboutsummaryrefslogtreecommitdiff
path: root/math/xldlas
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /math/xldlas
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
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