freebsd-ports/databases/msql3/files/patch-ac
1998-08-30 15:57:34 +00:00

27 lines
618 B
Plaintext

--- src/conf/site.mm.in.orig Fri May 29 19:21:51 1998
+++ src/conf/site.mm.in Fri Aug 28 16:24:37 1998
@@ -3,8 +3,8 @@
#
-COMPILER= @CC@
-INST_DIR= /usr/local/Hughes
+COMPILER:= $(CC)
+INST_DIR:= $(PREFIX)
HAVE_DYNAMIC= -DHAVE_DYNAMIC
CC_ONLY_FLAGS=
LINK_ONLY_FLAGS=
@@ -34,10 +34,10 @@
EXTRA_LIB= @LIBS@
# Any other CFlags required
-EXTRA_CFLAGS= @DEFS@ $(SSIZE_T) $(U_INT) $(BITTYPES)
+EXTRA_CFLAGS= @DEFS@ $(SSIZE_T) $(U_INT) $(BITTYPES) -fpic
# Directory for pid file
PID_DIR= @PID_DIR@
-CFLAGS= -O -I$(TOP)/ $(EXTRA_CFLAGS)
+CFLAGS+= -I$(TOP)/ $(EXTRA_CFLAGS)
LDLIBS= -L$(TOP)/lib $(EXTRA_LIB)