freebsd-ports/www/pgdriver/files/patch-aa

31 lines
922 B
Plaintext
Raw Normal View History

2001-09-03 06:09:55 -04:00
--- makefile-- Mon May 14 06:41:27 2001
+++ makefile Mon Sep 3 15:37:38 2001
@@ -32,21 +32,22 @@
# - Added a commented-out block showing settings for Debian/GNU Linux with
# package installed AOLserver and PostgreSQL
2001-09-03 06:09:55 -04:00
-INSTALL=/home/nsadmin
+INSTALL=${NSHOME}
# Location of the PostgreSQL libraries
2001-09-03 06:09:55 -04:00
-PGLIB=/usr/local/pgsql/lib
+PGLIB=${PREFIX}/lib
# Location of the PostgreSQL includes
2001-09-03 06:09:55 -04:00
-PGINC=/usr/local/pgsql/include
+PGINC=${PREFIX}/include/pgsql
# Location of the AOLserver files (normally the ~nsadmin directory):
#NSHOME=/opt/aolserver
# Alternate location for AOLserver
2001-09-03 06:09:55 -04:00
-NSHOME=/home/aolserver/aolserver3_0
+NSHOME=${PREFIX}/aolserver
CC=gcc
2001-09-03 06:09:55 -04:00
-COPTS=-Wall -fpic -shared -I/usr/local/pgsql/include -I/home/aolserver/include -I-/usr/include
+COPTS=-Wall -fpic -shared -I${PGINC} -I${NSNOME}/include -I-/usr/include
+LDFLAGS=-pthread -Wl,-E
2001-09-03 06:09:55 -04:00
# Debian Linux with deb AOLserver & PostgreSQL
#CC=gcc