patch for math/ploticus to honor WITHOUT_X11
Alexander Kourakos
awk at bnt.com
Sun Jun 8 12:36:53 PDT 2003
Hello I have WITHOUT_X11=yes in my make.conf but math/ploticus was still
trying to build with X11, here's a patch to fix that. Thanks.
awk
--
Alexander Kourakos
System Administration
Biz Net Technologies
-------------- next part --------------
--- Makefile.orig Mon Jun 2 18:05:00 2003
+++ Makefile Sun Jun 8 15:30:34 2003
@@ -22,7 +22,13 @@
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_XLIB= yes
+.ifdef WITHOUT_X11
+MAKE_ARGS+= NOXFLAG=-DNOX11 XLIBS= XOBJ=
+PKGNAMESUFFIX= -nox11
+.else
+USE_XLIB= yes
+.endif
+
ALL_TARGET= ${PORTNAME}
MAN1= pl.1
More information about the freebsd-ports
mailing list