1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/mgv/files/patch-aa
1998-05-29 07:19:22 +00:00

31 lines
1.0 KiB
Plaintext

--- make/sys.freebsd3.mk.orig Thu Apr 16 01:58:12 1998
+++ make/sys.freebsd3.mk Fri May 29 08:57:58 1998
@@ -35,9 +35,9 @@
warn = -ansi -pedantic -W -Wall -Werror -Wmissing-prototypes
defs = -D$(sys)
opt = -O2
-incl = -I. -I/usr/local/include -I/usr/X11R6/include -I/usr/X11/include
-ldflags = -s -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib $(opt)
-xlibs = -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm -lcompat
+incl = -I. -I${PREFIX}/include -I${X11BASE}/include
+ldflags = -s -L${PREFIX}/lib -L${X11BASE}/lib $(opt)
+xlibs = ${MOTIFLIB} -lXpm -lXmu -lXt -lXext -lX11 -lm -lcompat
hlibs = -lhlpclient
ar = ar
arflags = -r
@@ -49,11 +49,11 @@
mkdir = mkdirhier
install = install -c
-bindir = /usr/local/bin
+bindir = ${PREFIX}/bin
binflags = -o root -g bin -m 755
-mandir = /usr/local/man/man1
+mandir = ${PREFIX}/man/man1
manflags = -o root -g bin -m 644
-libdir = /usr/local/lib/$(projname)
+libdir = ${PREFIX}/share/$(projname)
libflags = $(manflags)
addir = $(libdir)
adflags = $(libflags)