aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-03-28 19:30:39 +0800
committergarga <garga@FreeBSD.org>2006-03-28 19:30:39 +0800
commit7bd979994b66e6e6008ec709601e6ac2722cbff1 (patch)
tree0bbe7438f15056a282647185d77d61d8650e790c /devel
parent226a93facd9f89477a386b91475c6e0079e66c3c (diff)
downloadfreebsd-ports-gnome-7bd979994b66e6e6008ec709601e6ac2722cbff1.tar.gz
freebsd-ports-gnome-7bd979994b66e6e6008ec709601e6ac2722cbff1.tar.zst
freebsd-ports-gnome-7bd979994b66e6e6008ec709601e6ac2722cbff1.zip
- Forgot to apply thi spatch before add the port few minutes ago. It makes
the port install pkgconfig files on correct place.
Diffstat (limited to 'devel')
-rw-r--r--devel/libthai/Makefile4
-rw-r--r--devel/libthai/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/devel/libthai/Makefile b/devel/libthai/Makefile
index ed1c71e7359b..dafcab4cf2a8 100644
--- a/devel/libthai/Makefile
+++ b/devel/libthai/Makefile
@@ -25,4 +25,8 @@ MAN3= libthai.3 thctype.3 wtt.3
pre-configure:
${SH} ${WRKSRC}/autogen.sh
+post-patch:
+ @${REINPLACE_CMD} -E 's,^(pkgconfigdir = ).*$$,\1$$(prefix)/libdata/pkgconfig,' \
+ ${WRKSRC}/Makefile.am
+
.include <bsd.port.mk>
diff --git a/devel/libthai/pkg-plist b/devel/libthai/pkg-plist
index de70a3f39192..456d85c5a18d 100644
--- a/devel/libthai/pkg-plist
+++ b/devel/libthai/pkg-plist
@@ -20,8 +20,8 @@ lib/libthai.a
lib/libthai.la
lib/libthai.so
lib/libthai.so.0
-lib/pkgconfig/libthai.pc
+libdata/pkgconfig/libthai.pc
share/nls/en_US.US-ASCII
share/nls/POSIX
-@dirrm lib/pkgconfig
+@dirrm libdata/pkgconfig
@dirrm include/thai