pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-lib Use PLIST_SUBST in two files,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37e265fcd38d
branches:  trunk
changeset: 467379:37e265fcd38d
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Jan 30 18:50:39 2004 +0000

description:
Use PLIST_SUBST in two files, which were not installed in FreeBSD.

diffstat:

 databases/postgresql-lib/Makefile |  10 +++++++++-
 databases/postgresql-lib/PLIST    |   6 +++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r da5d735ec2eb -r 37e265fcd38d databases/postgresql-lib/Makefile
--- a/databases/postgresql-lib/Makefile Fri Jan 30 16:49:08 2004 +0000
+++ b/databases/postgresql-lib/Makefile Fri Jan 30 18:50:39 2004 +0000
@@ -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 @@
 
 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 -r da5d735ec2eb -r 37e265fcd38d databases/postgresql-lib/PLIST
--- a/databases/postgresql-lib/PLIST    Fri Jan 30 16:49:08 2004 +0000
+++ b/databases/postgresql-lib/PLIST    Fri Jan 30 18:50:39 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index