diff options
author | sf <sf@FreeBSD.org> | 2001-09-11 22:51:14 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-09-11 22:51:14 +0800 |
commit | de09a9289f924cb3279c6bf8fed2ec7bdfa74563 (patch) | |
tree | a78990b95da075027a194b96de231e1ffbab3622 /net-im/jabber | |
parent | 225dc8271a54fc04cadd407789494be0d09691a4 (diff) | |
download | freebsd-ports-gnome-de09a9289f924cb3279c6bf8fed2ec7bdfa74563.tar.gz freebsd-ports-gnome-de09a9289f924cb3279c6bf8fed2ec7bdfa74563.tar.zst freebsd-ports-gnome-de09a9289f924cb3279c6bf8fed2ec7bdfa74563.zip |
sync with devel/pth:
o use pth-config to detect pth headers/libraries.
o deinstall etc/jabber.xml if not modified.
Approved by: maintainer
Diffstat (limited to 'net-im/jabber')
-rw-r--r-- | net-im/jabber/Makefile | 16 | ||||
-rw-r--r-- | net-im/jabber/pkg-plist | 1 |
2 files changed, 11 insertions, 6 deletions
diff --git a/net-im/jabber/Makefile b/net-im/jabber/Makefile index 6d23c4d0edd5..7bdafdea3791 100644 --- a/net-im/jabber/Makefile +++ b/net-im/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-im/jabber/pkg-plist b/net-im/jabber/pkg-plist index dc3cfc7855da..008e57af317e 100644 --- a/net-im/jabber/pkg-plist +++ b/net-im/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 |