aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libmspack
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2010-08-04 23:52:54 +0800
committerfjoe <fjoe@FreeBSD.org>2010-08-04 23:52:54 +0800
commit6ea55167b320ebde0a13629782fbd9cb0bed9092 (patch)
treea3e4ed8de1d1d8313271c6942ab201c736020ea7 /archivers/libmspack
parentb8521d421ec46ee92c032fa4ab089122840ce219 (diff)
downloadfreebsd-ports-gnome-6ea55167b320ebde0a13629782fbd9cb0bed9092.tar.gz
freebsd-ports-gnome-6ea55167b320ebde0a13629782fbd9cb0bed9092.tar.zst
freebsd-ports-gnome-6ea55167b320ebde0a13629782fbd9cb0bed9092.zip
Fix pkgconfig directory.
PR: 149279 Submitted by: Philip M. Gollucci
Diffstat (limited to 'archivers/libmspack')
-rw-r--r--archivers/libmspack/Makefile4
-rw-r--r--archivers/libmspack/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/archivers/libmspack/Makefile b/archivers/libmspack/Makefile
index 119ddbd4281e..4b14c5ef5688 100644
--- a/archivers/libmspack/Makefile
+++ b/archivers/libmspack/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libmspack
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.cabextract.org.uk/libmspack/
DISTNAME= ${PORTNAME}-${PORTVERSION}alpha
@@ -18,4 +19,7 @@ USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,@prefix@/libdata/pkgconfig,g' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/archivers/libmspack/pkg-plist b/archivers/libmspack/pkg-plist
index 6df6c7e63ee7..8a5b90b6977b 100644
--- a/archivers/libmspack/pkg-plist
+++ b/archivers/libmspack/pkg-plist
@@ -3,4 +3,4 @@ lib/libmspack.a
lib/libmspack.la
lib/libmspack.so
lib/libmspack.so.1
-lib/pkgconfig/libmspack.pc
+libdata/pkgconfig/libmspack.pc