aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-03-09 00:58:35 +0800
committermarcus <marcus@FreeBSD.org>2009-03-09 00:58:35 +0800
commit66c35c796193113406dbdbe909fcc5066b0ae786 (patch)
tree58634257a9b39477676c523d92a82c9a8b04721a /net
parentf773367913da223f7e947c61c9c79c48b71c7a43 (diff)
downloadfreebsd-ports-gnome-66c35c796193113406dbdbe909fcc5066b0ae786.tar.gz
freebsd-ports-gnome-66c35c796193113406dbdbe909fcc5066b0ae786.tar.zst
freebsd-ports-gnome-66c35c796193113406dbdbe909fcc5066b0ae786.zip
Make sure libraries are linked with libintl and libiconv.
Diffstat (limited to 'net')
-rw-r--r--net/avahi-app/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/avahi-app/Makefile b/net/avahi-app/Makefile
index 57edfd2129ba..aeeb3d94e6cb 100644
--- a/net/avahi-app/Makefile
+++ b/net/avahi-app/Makefile
@@ -8,7 +8,7 @@
PORTNAME= avahi
PORTVERSION= 0.6.24
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= net dns
MASTER_SITES= http://www.avahi.org/download/
PKGNAMESUFFIX?= -app
@@ -106,6 +106,9 @@ avahi-post-patch:
${WRKSRC}/configure \
${WRKSRC}/avahi-client/Makefile.in \
${WRKSRC}/avahi-daemon/Makefile.in
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|(LIBINTL)|(LTLIBINTL)|g ; \
+ s|(LIBICONV)|(LTLIBICONV)|g'
@${REINPLACE_CMD} -e 's|%%RC_SUBR%%|${RC_SUBR}| ; \
s|%%GNOME_SUBR%%|${GNOME_SUBR}|' \
${WRKSRC}/initscript/freebsd/avahi-dnsconfd.sh.in \