1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/topaz/files/patch-aa
Steve Price 58861acc87 Initial import of topaz version 3.22.
A command driven graph plotting system for scientists and engineers.

PR:		13149
Submitted by:	Issei Suzuki <issei@jp.FreeBSD.ORG>
1999-11-01 02:27:11 +00:00

24 lines
806 B
Plaintext

--- topaz/Makefile.freebsd.orig Tue Oct 26 20:29:25 1999
+++ topaz/Makefile.freebsd Sat Oct 30 16:22:05 1999
@@ -2,16 +2,16 @@
clean: cleantopaz cleanview cleanps
# compiler
-CXX=g++
+CXX?=g++
# Where are include files kept
INCLUDE=.
# 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
+CFLAGS+= -I$(PREFIX)/include -I$(PREFIX)/include/ncurses -I$(X11BASE)/include -O2 -Wall -DTOPAZLINUX -DTOPAZ_NCURSES -DTOPAZ_EUC
+TOPAZLIB= -L$(PREFIX)/lib -lm -lncurses -lgnugetopt
PSLIB= -lm
-VIEWLIB= -lm -L/usr/X11R6/lib -lX11
+VIEWLIB= -lm -L$(X11BASE)/lib -lX11
# obj
OBJ=topaz.o plobj.o graph.o axis.o frame.o frame2.o valbuff.o script.o funcs.o\