pkgsrc/cad/felt/patches/patch-aa
2009-12-17 19:58:19 +00:00

46 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.8 2009/12/17 20:31:37 abs Exp $
--- etc/Makefile.conf.orig 2000-03-05 01:37:06.000000000 +0000
+++ etc/Makefile.conf
@@ -1,26 +1,26 @@
-AR = ar
-CC = gcc
-CCOPTS = -O3 -g
+#AR = ar
+#CC = gcc
+#CCOPTS = -O3 -g
CONTRIBDIR = none
CONTRIBFLAGS =
-CPP = /lib/cpp
-DESTBIN = /usr/local/bin
-DESTLIB = /usr/local/lib/felt
-DESTMAN = /usr/local/man
-INSTALL = sh $(TOPDIR)/etc/install.sh -c
-LDOPTS = -g
+#CPP = /lib/cpp
+DESTBIN = ${PREFIX}/bin
+DESTLIB = ${PREFIX}/share/felt
+DESTMAN = ${PREFIX}/man
+INSTALL = ${SH} $(TOPDIR)/etc/install.sh -c
+#LDOPTS = -g
LIBELT = $(TOPDIR)/lib/Elements/libelt.a
LIBFELT = $(TOPDIR)/lib/Felt/libfelt.a
LIBGEN = $(TOPDIR)/lib/Generate/libgen.a
LIBGEOMPACK = $(TOPDIR)/lib/Geompack/libgeompack.a
LIBMTX = $(TOPDIR)/lib/Matrix/libmtx.a
LIBWIDGETS = $(TOPDIR)/lib/Widgets/libwidgets.a
-MKDIR = sh $(TOPDIR)/etc/mkdirhier.sh
-RANLIB = ranlib
+MKDIR = ${SH} $(TOPDIR)/etc/mkdirhier.sh
+#RANLIB = ranlib
READLINE = -DREADLINE
-READLIBS = -L/usr/lib -lreadline -ltermcap
+READLIBS = -lreadline -ltermcap
RM = rm -f
SYSLIBS =
-X11DEF = /usr/X11R6/lib/X11/app-defaults
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11DEF = ${PREFIX}/lib/X11/app-defaults
+X11INC = ${X11BASE}/include
+X11LIB = ${X11BASE}/lib