aboutsummaryrefslogtreecommitdiffstats
path: root/math/oleo
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-03-11 01:52:15 +0800
committergahr <gahr@FreeBSD.org>2008-03-11 01:52:15 +0800
commitc1d83b104417796bdba41905700b6f4e70519d4c (patch)
tree2c157e2da2fed8388c75966e6919876d2eb277c5 /math/oleo
parenta6ea46f11d38c62d76dd09ffa0342d952f6e7f3e (diff)
downloadfreebsd-ports-gnome-c1d83b104417796bdba41905700b6f4e70519d4c.tar.gz
freebsd-ports-gnome-c1d83b104417796bdba41905700b6f4e70519d4c.tar.zst
freebsd-ports-gnome-c1d83b104417796bdba41905700b6f4e70519d4c.zip
- Remove USE_XLIB in favor of USE_XORG
- Fix OPTIONS Approved by: miwi (mentor)
Diffstat (limited to 'math/oleo')
-rw-r--r--math/oleo/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index 0364e3b898db..5cb73200f7bb 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -28,14 +28,16 @@ PORTDOCS= AUTHORS FAQ
OPTIONS= MOTIF "Motif support" off \
NLS "NLS support" on
-.if defined(WITH_MOTIF)
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_MOTIF)
LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \
Xbae:${PORTSDIR}/x11-toolkits/xbae \
XmHTML:${PORTSDIR}/x11-toolkits/xmhtml
USE_MOTIF= yes
CONFIGURE_ARGS+= --with-motif
.else
-USE_XLIB= yes
+USE_XORG= xt ice sm
CONFIGURE_ARGS+= --without-motif
.endif
@@ -66,4 +68,4 @@ pre-build:
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>