mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Upgrade to v2.0.
This commit is contained in:
parent
26eb9e86d0
commit
2f0c6d8518
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47356
4 changed files with 23 additions and 33 deletions
|
@ -6,16 +6,18 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= pgdriver
|
PORTNAME= pgdriver
|
||||||
PORTVERSION= 1.1
|
PORTVERSION= 2.0
|
||||||
CATEGORIES= www databases
|
CATEGORIES= www databases
|
||||||
MASTER_SITES= http://openacs.org/sdm/download-package/2/20/
|
MASTER_SITES= http://openacs.org/sdm/download-package/2/38/
|
||||||
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
MAINTAINER= jkoshy@freebsd.org
|
MAINTAINER= jkoshy@freebsd.org
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/aolserver/bin/nsd:${PORTSDIR}/www/aolserver \
|
BUILD_DEPENDS= ${LOCALBASE}/aolserver/bin/nsd:${PORTSDIR}/www/aolserver \
|
||||||
${LOCALBASE}/pgsql/bin/postmaster:${PORTSDIR}/databases/postgresql7
|
${LOCALBASE}/bin/postmaster:${PORTSDIR}/databases/postgresql7
|
||||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
MAKEFILE= makefile
|
MAKEFILE= makefile
|
||||||
|
MAKE_ENV+= PREFIX=${PREFIX}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (pgdriver-1.1.tar.gz) = c7fb77755fe12f51929b8370b35141fc
|
MD5 (pgdriver-2.0.tgz) = 12bcbc30fe5795e3f0bf656b6d4bf6c0
|
||||||
|
|
|
@ -1,31 +1,30 @@
|
||||||
--- makefile-- Thu Mar 1 12:44:27 2001
|
--- makefile-- Mon May 14 06:41:27 2001
|
||||||
+++ makefile Thu Mar 1 12:46:38 2001
|
+++ makefile Mon Sep 3 15:37:38 2001
|
||||||
@@ -33,15 +33,15 @@
|
@@ -32,21 +32,22 @@
|
||||||
|
# - Added a commented-out block showing settings for Debian/GNU Linux with
|
||||||
# package installed AOLserver and PostgreSQL
|
# package installed AOLserver and PostgreSQL
|
||||||
|
|
||||||
|
-INSTALL=/home/nsadmin
|
||||||
|
+INSTALL=${NSHOME}
|
||||||
|
|
||||||
# Location of the PostgreSQL libraries
|
# Location of the PostgreSQL libraries
|
||||||
-#PGLIB=/usr/local/pgsql/lib
|
-PGLIB=/usr/local/pgsql/lib
|
||||||
+PGLIB=/usr/local/pgsql/lib
|
+PGLIB=${PREFIX}/lib
|
||||||
|
|
||||||
# Location of the PostgreSQL includes
|
# Location of the PostgreSQL includes
|
||||||
-#PGINC=/usr/local/pgsql/include
|
-PGINC=/usr/local/pgsql/include
|
||||||
+PGINC=/usr/local/pgsql/include
|
+PGINC=${PREFIX}/include/pgsql
|
||||||
|
|
||||||
# Location of the AOLserver files (normally the ~nsadmin directory):
|
# Location of the AOLserver files (normally the ~nsadmin directory):
|
||||||
#NSHOME=/opt/aolserver
|
#NSHOME=/opt/aolserver
|
||||||
# Alternate location for AOLserver
|
# Alternate location for AOLserver
|
||||||
-#NSHOME=/usr/local/AOLserver
|
-NSHOME=/home/aolserver/aolserver3_0
|
||||||
+NSHOME=/usr/local/aolserver
|
+NSHOME=${PREFIX}/aolserver
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
COPTS=-Wall -fpic -shared -I/usr/local/pgsql/include -I/home/nsadmin/include -I-/usr/include
|
-COPTS=-Wall -fpic -shared -I/usr/local/pgsql/include -I/home/aolserver/include -I-/usr/include
|
||||||
@@ -82,8 +82,8 @@
|
+COPTS=-Wall -fpic -shared -I${PGINC} -I${NSNOME}/include -I-/usr/include
|
||||||
# FreeBSD 3
|
|
||||||
# The make install target isn't what you want---just copy postgres.so to
|
|
||||||
# /usr/local/libexec/aolserver
|
|
||||||
-#COPTS=-g -Wall -fpic -pthread -D_THREAD_SAFE -I/usr/local/include/aolserver -I/usr/local/pgsql/include
|
|
||||||
-#LDFLAGS=-pthread -Wl,-E
|
|
||||||
+COPTS=-g -Wall -fpic -pthread -D_THREAD_SAFE -I${NSHOME}/include -I${PGINC}
|
|
||||||
+LDFLAGS=-pthread -Wl,-E
|
+LDFLAGS=-pthread -Wl,-E
|
||||||
|
|
||||||
# You should not need to edit anything below this line.
|
# Debian Linux with deb AOLserver & PostgreSQL
|
||||||
|
#CC=gcc
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- postgres.c-- Fri Jun 30 01:42:10 2000
|
|
||||||
+++ postgres.c Thu Mar 1 14:41:54 2001
|
|
||||||
@@ -1139,7 +1139,7 @@
|
|
||||||
char* filename)
|
|
||||||
{
|
|
||||||
int fd, i, j, segment, readlen;
|
|
||||||
- char in_buf[6000], out_buf[8000], query[100];
|
|
||||||
+ char in_buf[6001], out_buf[8001], query[8100];
|
|
||||||
char *segment_pos;
|
|
||||||
|
|
||||||
fd = open (filename, O_RDONLY);
|
|
Loading…
Add table
Reference in a new issue