aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-03-20 13:03:54 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-03-20 13:03:54 +0000
commit1bf8f4f4ddf5ee581e3e2b4c8a66178d6beac6b9 (patch)
treeda6334ee32d4226dd71460383876e2e167cf6e20 /math
parent5ded881308b8c4bcb823405555b51e199a89de3e (diff)
downloadports-1bf8f4f4ddf5ee581e3e2b4c8a66178d6beac6b9.tar.gz
ports-1bf8f4f4ddf5ee581e3e2b4c8a66178d6beac6b9.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/oleo/Makefile23
-rw-r--r--math/oleo/distinfo2
2 files changed, 16 insertions, 9 deletions
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index 19babab4287c..beb0f8e00b4b 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= oleo
-PORTVERSION= 1.99.14
+PORTVERSION= 1.99.16
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,23 +14,30 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-.if defined(WITH_MOTIF)
-LIB_DEPENDS+= plot.3:${PORTSDIR}/graphics/plotutils \
- Xbae.8:${PORTSDIR}/x11-toolkits/xbae
-.endif
-USE_XLIB= yes
+USE_BISON= yes
USE_AUTOCONF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
-CONFIGURE_ARGS= --with-x --without-xlt \
- --without-xmhtml --without-SciPlot
+CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot
.if defined(WITH_MOTIF)
+LIB_DEPENDS+= plot.3:${PORTSDIR}/graphics/plotutils \
+ Xbae.8:${PORTSDIR}/x11-toolkits/xbae \
+ XmHTML.1:${PORTSDIR}/x11-toolkits/xmhtml
USE_MOTIF= yes
CONFIGURE_ARGS+= --with-motif
.else
+USE_XLIB= yes
CONFIGURE_ARGS+= --without-motif
.endif
+pre-everything:
+.if !defined(WITH_MOTIF)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want to compile with Motif support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MOTIF=yes\""
+ @${ECHO_MSG}
+.endif
+
.include <bsd.port.mk>
diff --git a/math/oleo/distinfo b/math/oleo/distinfo
index 9662446abfba..4eda659a105b 100644
--- a/math/oleo/distinfo
+++ b/math/oleo/distinfo
@@ -1 +1 @@
-MD5 (oleo-1.99.14.tar.gz) = 85c0de81f7cbabab3c26b46ba0a75779
+MD5 (oleo-1.99.16.tar.gz) = d59801055b8ba6c6980ed1247a603f5f