aboutsummaryrefslogtreecommitdiff
path: root/cad/jspice3
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 /cad/jspice3
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'cad/jspice3')
-rw-r--r--cad/jspice3/Makefile4
-rw-r--r--cad/jspice3/files/patch-build2
2 files changed, 3 insertions, 3 deletions
diff --git a/cad/jspice3/Makefile b/cad/jspice3/Makefile
index 4383654b4ebc..d2ed545c77ce 100644
--- a/cad/jspice3/Makefile
+++ b/cad/jspice3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jspice3
PORTVERSION= 2.5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= cad
MASTER_SITES= http://www.wrcad.com/ftp/pub/ \
ftp://ftp.srware.com/pub/
@@ -22,7 +22,7 @@ OPTIONS= X "Use X window system" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X)
-USE_XLIB= yes
+USE_XORG= x11 xaw xt
.endif
pre-configure:
diff --git a/cad/jspice3/files/patch-build b/cad/jspice3/files/patch-build
index 23dd41e04f4b..9fd79ecfdc13 100644
--- a/cad/jspice3/files/patch-build
+++ b/cad/jspice3/files/patch-build
@@ -14,7 +14,7 @@
if [ -f conf/util/configure ]; then
cd conf
- util/configure -srcdir .
-+ util/configure -srcdir . --prefix=${PREFIX} -x-includes="${X11BASE}/include" -x-libraries="${X11BASE}/lib"
++ util/configure -srcdir . --prefix=${PREFIX} -x-includes="${LOCALBASE}/include" -x-libraries="${LOCALBASE}/lib"
if [ ! -f ../src/include/config.h ] || \
[ "`diff config.h ../src/include/config.h |head`" ]; then
echo Installing config.h