From 47076b9bb04b6af2df2a1d4df853688b96baae17 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Wed, 4 Aug 2010 15:52:54 +0000 Subject: Fix pkgconfig directory. PR: 149279 Submitted by: Philip M. Gollucci --- archivers/libmspack/Makefile | 4 ++++ archivers/libmspack/pkg-plist | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'archivers/libmspack') 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 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 -- cgit v1.2.3