aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pgplot
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1999-05-03 05:51:12 +0800
committerjmz <jmz@FreeBSD.org>1999-05-03 05:51:12 +0800
commit829e009ecac1fa29e5314c4a36079b544a860015 (patch)
treeab6337c11ee2325c5746bb4386513b73ec63c5a9 /graphics/pgplot
parent9a7f096003bc03b0be976e0847e968fe68624595 (diff)
downloadfreebsd-ports-gnome-829e009ecac1fa29e5314c4a36079b544a860015.tar.gz
freebsd-ports-gnome-829e009ecac1fa29e5314c4a36079b544a860015.tar.zst
freebsd-ports-gnome-829e009ecac1fa29e5314c4a36079b544a860015.zip
Demos must be compiled with the -fno-backslash option on -current
Diffstat (limited to 'graphics/pgplot')
-rw-r--r--graphics/pgplot/files/Makefile.demo5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/pgplot/files/Makefile.demo b/graphics/pgplot/files/Makefile.demo
index d72cdcd29983..449f9116020c 100644
--- a/graphics/pgplot/files/Makefile.demo
+++ b/graphics/pgplot/files/Makefile.demo
@@ -2,6 +2,11 @@ PGPLOT_LIB = -L/usr/local/lib -lpgplot
CPGPLOT_LIB = -L/usr/local/lib -lcpgplot
LIBS= -L/usr/X11R6/lib -lX11 -lm
+OSVERSION!= /sbin/sysctl -n kern.osreldate
+.if ${OSVERSION} > 400004
+FFLAGS+= -fno-backslash
+.endif
+
all: cpgdemo pgdemo1 pgdemo2 pgdemo3 pgdemo4 pgdemo5 pgdemo6 pgdemo7 pgdemo8 \
pgdemo9 pgdemo10 pgdemo11 pgdemo12 pgdemo13 pgdemo14