aboutsummaryrefslogtreecommitdiff
path: root/math/oleo
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-03-10 17:52:15 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-03-10 17:52:15 +0000
commita8ee12a1ebb3dd1d4ad54d576fa75c4010dc945a (patch)
tree419925656a0109e51257de541a9e832dbc90f4df /math/oleo
parentfe4d636e3948134f121e099837c56176f5f3b8de (diff)
downloadports-a8ee12a1ebb3dd1d4ad54d576fa75c4010dc945a.tar.gz
ports-a8ee12a1ebb3dd1d4ad54d576fa75c4010dc945a.zip
Notes
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>