summaryrefslogtreecommitdiff
path: root/cad/felt/patches/patch-aa
blob: 3a27561768f97614cb5f9207df0d0d8476a2312a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-aa,v 1.3 2000/12/21 18:17:09 skrll Exp $

--- etc/Makefile.conf.orig	Sun Mar  5 01:37:06 2000
+++ etc/Makefile.conf
@@ -1,26 +1,22 @@
-AR		= ar
-CC		= gcc
-CCOPTS		= -O3 -g
+CCOPTS		= -O3 -ansi
 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
+DESTBIN		= ${PREFIX}/bin
+DESTLIB		= ${PREFIX}/share/felt
+DESTMAN		= ${PREFIX}/man
+INSTALL		= /bin/sh $(TOPDIR)/etc/install.sh -c
+LDOPTS		= -s -Wl,-R${X11BASE}/lib
 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		= /bin/sh $(TOPDIR)/etc/mkdirhier.sh
 READLINE	= -DREADLINE
-READLIBS	= -L/usr/lib -lreadline -ltermcap
+READLIBS	= -L${RL_PREFIX}/lib -Wl,-R${RL_PREFIX}/lib -lreadline -ltermcap
 RM		= rm -f
 SYSLIBS		=
-X11DEF		= /usr/X11R6/lib/X11/app-defaults
-X11INC		= /usr/X11R6/include
-X11LIB		= /usr/X11R6/lib
+X11DEF		= ${X11BASE}/lib/X11/app-defaults
+X11INC		= ${X11BASE}/include
+X11LIB		= ${X11BASE}/lib