summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-24 11:27:38 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-24 11:27:38 +0000
commit9d26c4eb82b0f7bf7ee404d76b1507c570f8fe78 (patch)
treebce248bd12886f7b319b150ff0111fcb7bf505e3 /net-p2p/py-bittorrent/Makefile
parentUpdate COMMENT to make sense (diff)
o devel/py-psyco only works under i386. Therefore, define
WITHOUT_PSYCO=yes if ${ARCH} != "i386" o No PORTREVISION bump necessary since the dependency just wouldn't work outside of i386 Reminded by: perky cVS: ----------------------------------------------------------------------
Notes
Notes: svn path=/head/; revision=125053
Diffstat (limited to 'net-p2p/py-bittorrent/Makefile')
-rw-r--r--net-p2p/py-bittorrent/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/py-bittorrent/Makefile b/net-p2p/py-bittorrent/Makefile
index 3ada585314a8..06cbc48e7568 100644
--- a/net-p2p/py-bittorrent/Makefile
+++ b/net-p2p/py-bittorrent/Makefile
@@ -27,6 +27,12 @@ CONFLICTS= py??-*[Bb]it[Tt]orrent* py??-*[Bb]it[Tt]ornado* btqueue*
PORTDOCS= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
README.txt credits.txt
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+WITHOUT_PSYCO= yes
+.endif
+
# required for GUI
.ifndef(WITHOUT_GUI)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
@@ -94,4 +100,4 @@ post-install:
@${CHMOD} ${SHAREMODE} ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
@${CHMOD} a+x ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>