freebsd-ports/science/felt/files/patch-aa
2001-04-30 10:13:07 +00:00

41 lines
817 B
Text

--- configure.orig Mon May 29 23:29:15 1995
+++ configure Mon Apr 30 03:03:43 2001
@@ -71,7 +71,6 @@
echo Configuring ...
-which CC gcc
which RANLIB ranlib
which CAT cat
which TRUE true
@@ -136,7 +135,6 @@
# provide worst-case defaults
-: ${CC:=cc}
: ${RANLIB:=$TRUE}
: ${READDIR:=/lib}
: ${DEST}:=.}
@@ -145,12 +143,11 @@
: ${X11INC:=.}
: ${X11LIB:=.}
-CC=`basename $CC`
RANLIB=`basename $RANLIB`
READDIR=`dirname $READDIR`
CONTRIBDIR=none
-if [ $CC = gcc ]; then CCOPTS=-O3; else CCOPTS=-O; fi
+CCOPTS=${CFLAGS}
# defaults for known architectures that fail the above
@@ -222,7 +219,7 @@
CONTRIBFLAGS = $CONTRIBFLAGS
CPP = $CPP
DESTBIN = $DEST/bin
-DESTLIB = $DEST/lib/felt
+DESTLIB = $DEST/share/felt
DESTMAN = $DEST/man
INSTALL = sh \$(TOPDIR)/etc/install.sh -c
LDOPTS =