diff options
Diffstat (limited to 'net/jabber')
-rw-r--r-- | net/jabber/Makefile | 16 | ||||
-rw-r--r-- | net/jabber/pkg-plist | 1 |
2 files changed, 11 insertions, 6 deletions
diff --git a/net/jabber/Makefile b/net/jabber/Makefile index 6d23c4d0edd5..7bdafdea3791 100644 --- a/net/jabber/Makefile +++ b/net/jabber/Makefile @@ -7,7 +7,7 @@ PORTNAME= jabber PORTVERSION= 1.4.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://download.jabber.org/dists/1.4/final/ DISTFILES+= jabber-1.4.1.tar.gz \ @@ -39,11 +39,15 @@ post-extract: @mv ${WRKDIR}/yahoo-transport-0.8-1.4 ${WRKDIR}/${JABDIR}/yahoo-transport post-configure: - @cd ${WRKDIR}/${JABDIR}/aim-transport && ./configure - @cd ${WRKDIR}/${JABDIR}/irc-transport && ./configure \ - --includedir=${WRKDIR}/${JABDIR}/jabberd - @cd ${WRKDIR}/${JABDIR}/yahoo-transport && ./configure \ - --includedir=${WRKDIR}/${JABDIR}/jabberd + ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \ + CPPFLAGS=`pth-config --cflags` \ + LDFLAGS=`pth-config --ldflags` \ + LIBS=`pth-config --libs` ${SHELL} -c \ + "cd ${WRKDIR}/${JABDIR}/aim-transport; ./configure; \ + cd ${WRKDIR}/${JABDIR}/irc-transport; \ + ./configure --includedir=${WRKDIR}/${JABDIR}/jabberd; \ + cd ${WRKDIR}/${JABDIR}/yahoo-transport; \ + ./configure --includedir=${WRKDIR}/${JABDIR}/jabberd" post-install: @PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} ${PKGNAME} POST-INSTALL diff --git a/net/jabber/pkg-plist b/net/jabber/pkg-plist index dc3cfc7855da..008e57af317e 100644 --- a/net/jabber/pkg-plist +++ b/net/jabber/pkg-plist @@ -1,4 +1,5 @@ bin/jabberd +@unexec if cmp -s %D/etc/jabber.xml.sample %D/etc/jabber.xml; then rm -f %D/etc/jabber.xml; fi etc/jabber.xml.sample etc/rc.d/jabberd.sh lib/jabber/aim-transport/aimtrans.so |