1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/math/cxsc/files/patch-Makefile
2002-03-26 02:02:10 +00:00

36 lines
1.5 KiB
Plaintext

--- Makefile.orig Thu Aug 9 10:50:35 2001
+++ Makefile Mon Mar 25 17:26:19 2002
@@ -2,19 +2,18 @@
# (un-)installation prefix
# e.g. /usr/local/cxsc or local home directory
-export PREFIX=/home/user/cxsc
#========= the following commands should work on most Unix systems ========
-export CC=gcc# name of the C compiler
-export CCOPTS=-Wall# optional flags to give to the C compiler
+#export CC=gcc# name of the C compiler
+#export CCOPTS=-Wall# optional flags to give to the C compiler
export CCINC=-I. -I../.. -I../rts#
# additional include path
export CCFLAGS=$(CCINC) $(CCOPTS)#
# extra flags to give to the C compiler
-export CXX=g++# name of the C++ compiler
-export CXXOPTS=-Wall -Winline# optional flags to give to the C++ compiler
+#export CXX=g++# name of the C++ compiler
+#export CXXOPTS=-Wall -Winline# optional flags to give to the C++ compiler
# -O3# at the moment without optimization
# (takes too much RAM)
export CXXINC=-I. -I.. -Irts/ -Ifi_lib#
@@ -29,7 +28,7 @@
export RM=rm -f# remove files (forced)
export RMDIR=rm -rf# remove directory
-export INSTALL=install -m 644# copy files
+export INSTALL=${INSTALL_DATA}# copy files
export STRIP=strip -g# strip executables from debug symbols
export INSTDIR=install -d# create installation directory