summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-02-09 18:25:32 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-02-09 18:25:32 +0000
commit5babdbc828d358f0e8387f5453a3256d0594cb1b (patch)
tree3e2122481ae2e0b71ac8ed7cbd9641afad3de077 /net
parentFocred commit to note that the 2.4.4 update also included a fix for PR (diff)
Allow ServiceTypeDatabase.py to find the services database.
Notes
Notes: svn path=/head/; revision=206960
Diffstat (limited to 'net')
-rw-r--r--net/py-avahi/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/py-avahi/Makefile b/net/py-avahi/Makefile
index dae008bedd5a..71d50047b931 100644
--- a/net/py-avahi/Makefile
+++ b/net/py-avahi/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
# $MCom: ports/net/py-avahi/Makefile,v 1.4 2007/07/31 18:24:13 ahze Exp $
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net gnome python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= # empty
@@ -31,6 +31,10 @@ USE_GNOME= gnomehack gnometarget pygtk2
USE_PYTHON= yes
MAN1= avahi-bookmarks.1 avahi-discover.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|@pkglibdir@|${DATADIR}|' \
+ ${WRKSRC}/avahi-python/avahi/ServiceTypeDatabase.py.in
+
pre-build:
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
Makefile ${MAKE_ARGS} clean