freebsd-ports/print/pcal/files/patch-aa
Foxfair Hu 61346e3067 PR: 52644
Submitted by:	MAINTAINER
Update pcal to 4.7.1, which now has a new home as the original author's
site is no longer available
2003-06-01 01:33:50 +00:00

26 lines
843 B
Text

--- Makefile.orig Tue Jan 7 10:29:28 2003
+++ Makefile Sat May 24 15:40:57 2003
@@ -21,8 +21,8 @@
# Set the configuration variables below to taste.
-PCALINIT_CC = /usr/bin/gcc # native compiler
-CC = /usr/bin/gcc # cross-compiler (if target != host)
+PCALINIT_CC = ${CC} # native compiler
+CC = ${HOST_CC} # cross-compiler (if target != host)
# Set COMPRESS to your preferred compression utility (compress, gzip, etc.),
# Z to the file suffix that it generates (.Z, .gz, etc.), and UUC to the file
@@ -58,9 +58,9 @@
# PACK = pack
# directories for installing executable and man page(s)
-BINDIR = /usr/local/bin
-MANDIR = /usr/man/man1
-CATDIR = /usr/man/cat1
+BINDIR = ${PREFIX}/bin
+MANDIR = ${PREFIX}/man/man1
+CATDIR = ${PREFIX}/cat1
OBJECTS = pcal.o exprpars.o moonphas.o pcalutil.o readfile.o writefil.o