summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-30 18:50:39 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-30 18:50:39 +0000
commit390ab84fb374cf1bf2d3bdebfbed4254fcd2a736 (patch)
tree7bf46081bd5c29cfbad3e5bd5bda9cd99562f1e0 /databases
parent149cdbd6a174be599d49298268c4fee3ad85aa1a (diff)
downloadpkgsrc-390ab84fb374cf1bf2d3bdebfbed4254fcd2a736.tar.gz
Use PLIST_SUBST in two files, which were not installed in FreeBSD.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-lib/Makefile10
-rw-r--r--databases/postgresql-lib/PLIST6
2 files changed, 12 insertions, 4 deletions
diff --git a/databases/postgresql-lib/Makefile b/databases/postgresql-lib/Makefile
index 2010edc2250..813420469fc 100644
--- a/databases/postgresql-lib/Makefile
+++ b/databases/postgresql-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/01/21 09:01:00 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2004/01/30 18:50:39 xtraeme Exp $
PKGNAME= postgresql-lib-${BASE_VERS}
PKGREVISION= 1
@@ -21,6 +21,14 @@ INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
INSTALLATION_DIRS= man
+.if ${OPSYS} == "FreeBSD"
+PLIST_SUBST+= LIBECPG="@comment "
+PLIST_SUBST+= LIBPQ="@comment "
+.else
+PLIST_SUBST+= LIBECPG=
+PLIST_SUBST+= LIBEPQ=
+.endif
+
post-buildlink:
#
# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
diff --git a/databases/postgresql-lib/PLIST b/databases/postgresql-lib/PLIST
index 755544ed25f..c2d6fd7cc3e 100644
--- a/databases/postgresql-lib/PLIST
+++ b/databases/postgresql-lib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2004/01/21 08:14:29 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/01/30 18:50:39 xtraeme Exp $
bin/ecpg
include/postgresql/ecpgerrno.h
include/postgresql/ecpglib.h
@@ -335,11 +335,11 @@ include/postgresql/sqlca.h
lib/libecpg.a
lib/libecpg.so
lib/libecpg.so.3
-lib/libecpg.so.3.4
+${LIBECPG}lib/libecpg.so.3.4
lib/libpq.a
lib/libpq.so
lib/libpq.so.3
-lib/libpq.so.3.0
+${LIBPQ}lib/libpq.so.3.0
lib/postgresql/plpgsql.so
man/man1/ecpg.1
@dirrm lib/postgresql