aboutsummaryrefslogtreecommitdiff
path: root/math/topaz
diff options
context:
space:
mode:
Diffstat (limited to 'math/topaz')
-rw-r--r--math/topaz/Makefile4
-rw-r--r--math/topaz/files/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/math/topaz/Makefile b/math/topaz/Makefile
index daa99ffcabe0..e13b8fe1c85c 100644
--- a/math/topaz/Makefile
+++ b/math/topaz/Makefile
@@ -7,7 +7,7 @@
PORTNAME= topaz
PORTVERSION= 3.40
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}-src
@@ -17,7 +17,7 @@ COMMENT= A command driven graph plotting system for scientists and engineers
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_XLIB= yes
+USE_XORG= x11
MAKEFILE= Makefile.freebsd
post-install:
diff --git a/math/topaz/files/patch-aa b/math/topaz/files/patch-aa
index 22c9908eec2e..d80194621d21 100644
--- a/math/topaz/files/patch-aa
+++ b/math/topaz/files/patch-aa
@@ -13,11 +13,11 @@
# for FreeBSD
-CFLAGS= -I/usr/local/include -I/usr/local/include/ncurses -I/usr/X11R6/include -O2 -Wall -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC
-TOPAZLIB= -L/usr/local/lib -lm -lncurses -lgnugetopt -lreadline -lhistory
-+CXXFLAGS+= -I${LOCALBASE}/include/ncurses -I${X11BASE}/include -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC
++CXXFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC
+TOPAZLIB= -lm -lncurses -lreadline -lhistory
PSLIB= -lm
-VIEWLIB= -lm -L/usr/X11R6/lib -lX11
-+VIEWLIB= -lm -L${X11BASE}/lib -lX11
++VIEWLIB= -lm -L${LOCALBASE}/lib -lX11
# obj
OBJ=topaz.o plobj.o graph.o axis.o frame.o frame2.o valbuff.o script.o funcs.o\