aboutsummaryrefslogtreecommitdiff
path: root/math/emc2
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/emc2
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'math/emc2')
-rw-r--r--math/emc2/Makefile4
-rw-r--r--math/emc2/files/patch-Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/math/emc2/Makefile b/math/emc2/Makefile
index e806989712ce..5252a0f64f77 100644
--- a/math/emc2/Makefile
+++ b/math/emc2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emc2
PORTVERSION= 2.15
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math science
MASTER_SITES= http://www-c.inria.fr/gamma/cdrom/ftp/emc2/ \
http://www-rocq1.inria.fr/gamma/cdrom/ftp/emc2/
@@ -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= ${PORTNAME}
diff --git a/math/emc2/files/patch-Makefile b/math/emc2/files/patch-Makefile
index fd7cd9adc9e8..2dd8634f9b0b 100644
--- a/math/emc2/files/patch-Makefile
+++ b/math/emc2/files/patch-Makefile
@@ -8,8 +8,8 @@
-X11INCLUDEDIR=/usr/include/X11R6
-X11LIBDIR=/usr/lib/X11R6
+BIN=$(PREFIX)/bin
-+X11INCLUDEDIR=$(X11BASE)/include
-+X11LIBDIR=$(X11BASE)/lib
++X11INCLUDEDIR=$(LOCALBASE)/include
++X11LIBDIR=$(LOCALBASE)/lib
X11LIB= -L$(X11LIBDIR) -lX11
MATHLIB= -lm