summaryrefslogtreecommitdiff
path: root/math/ploticus
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:44:46 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:44:46 +0000
commit048a1c4dad6576d79c6cfe1ae6e8edccec469128 (patch)
tree805ff76021848119a4b8b3607a46820a116fdc76 /math/ploticus
parentNew port, proxychains 1.8.2 (diff)
ploticus should not require X11 (patch included)
Despite the WITHOUT_X11 setting, building ploticus requires X11. PR: ports/53266 Submitted by: awk <awk@bronte.bnt.com>
Diffstat (limited to 'math/ploticus')
-rw-r--r--math/ploticus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index 17c8bbf7d00b..9d18d402b508 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -27,7 +27,6 @@ CONFLICTS= slffea-* swi-pl-*
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
-USE_XPM= yes
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \
LOCALEOBJ="localef.o" LOCALE_FLAG="-DLOCALE" \
MING="-L${LOCALBASE}/lib -lming" \
@@ -39,6 +38,13 @@ MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \
GDFREETYPE="-DGDFREETYPE" PREFABS_DIR="${DATADIR}"
ALL_TARGET= plgd18
+.ifdef WITHOUT_X11
+MAKE_ARGS+= NOXFLAG=-DNOX11 XLIBS= XOBJ=
+PKGNAMESUFFIX= -nox11
+.else
+USE_XPM= yes
+.endif
+
MAN1= pl.1
do-install: