summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2013-05-12 22:28:38 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2013-05-12 22:28:38 +0000
commit6af63b8fc762fce0237a340df304a4d822f88f4f (patch)
tree127630b5b58117354dfed3bafc6a92185ec7d457
parent- New Port PySpaceWar (diff)
pkgconfig belongs under libdata
Notes
Notes: svn path=/head/; revision=317984
-rw-r--r--databases/postgresql93-client/Makefile2
-rw-r--r--databases/postgresql93-server/files/patch-src-Makefile.shlib11
-rw-r--r--databases/postgresql93-server/pkg-plist-client9
3 files changed, 16 insertions, 6 deletions
diff --git a/databases/postgresql93-client/Makefile b/databases/postgresql93-client/Makefile
index f09256cad340..7803e4910344 100644
--- a/databases/postgresql93-client/Makefile
+++ b/databases/postgresql93-client/Makefile
@@ -5,7 +5,7 @@
# See Mk/bsd.databases.mk for more info
PORTNAME= postgresql
-PORTREVISION= 1
+PORTREVISION= 2
PKGNAMESUFFIX= -client
COMMENT= PostgreSQL database (client)
diff --git a/databases/postgresql93-server/files/patch-src-Makefile.shlib b/databases/postgresql93-server/files/patch-src-Makefile.shlib
new file mode 100644
index 000000000000..2435ffe1d280
--- /dev/null
+++ b/databases/postgresql93-server/files/patch-src-Makefile.shlib
@@ -0,0 +1,11 @@
+--- src/Makefile.shlib.bak 2013-05-06 22:57:06.000000000 +0200
++++ src/Makefile.shlib 2013-05-12 23:33:16.000000000 +0200
+@@ -87,7 +87,7 @@
+ # Testing the soname variable is a reliable way to determine whether a
+ # linkable library is being built.
+ soname = $(shlib_major)
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ else
+ # Naming convention for dynamically loadable modules
+ shlib = $(NAME)$(DLSUFFIX)
diff --git a/databases/postgresql93-server/pkg-plist-client b/databases/postgresql93-server/pkg-plist-client
index 0e1dece5cb63..ecce933d7e76 100644
--- a/databases/postgresql93-server/pkg-plist-client
+++ b/databases/postgresql93-server/pkg-plist-client
@@ -608,11 +608,10 @@ lib/libpgtypes.so.3
lib/libpq.a
lib/libpq.so
lib/libpq.so.5
-lib/pkgconfig/libecpg.pc
-lib/pkgconfig/libecpg_compat.pc
-lib/pkgconfig/libpgtypes.pc
-lib/pkgconfig/libpq.pc
-@dirrmtry lib/pkgconfig
+libdata/pkgconfig/libecpg.pc
+libdata/pkgconfig/libecpg_compat.pc
+libdata/pkgconfig/libpgtypes.pc
+libdata/pkgconfig/libpq.pc
lib/postgresql/pgxs/config/install-sh
lib/postgresql/pgxs/src/makefiles/pgxs.mk
lib/postgresql/pgxs/src/Makefile.global