aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-07-31 21:01:44 +0800
committerpav <pav@FreeBSD.org>2007-07-31 21:01:44 +0800
commit6882c321074be50c196ffccad0d467a826b877ae (patch)
treee1e3382f8b937f6d599647b90be2ac4c39155080 /devel
parentc5ea167df917de685ee7654a97cf1ce84e1041f7 (diff)
downloadfreebsd-ports-gnome-6882c321074be50c196ffccad0d467a826b877ae.tar.gz
freebsd-ports-gnome-6882c321074be50c196ffccad0d467a826b877ae.tar.zst
freebsd-ports-gnome-6882c321074be50c196ffccad0d467a826b877ae.zip
- Try to force our idea of OSARCH (untested)
Reported by: pointyhat
Diffstat (limited to 'devel')
-rw-r--r--devel/py-pyutil/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/py-pyutil/Makefile b/devel/py-pyutil/Makefile
index ebd934c45e01..ed275fcb6875 100644
--- a/devel/py-pyutil/Makefile
+++ b/devel/py-pyutil/Makefile
@@ -25,4 +25,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|^from\ ez\_setup|#from\ ez\_setup|' \
-e 's|^use_setuptools|#use_setuptools|' ${WRKSRC}/${PYSETUP}
+pre-build:
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-platlib -s lib.${PYEASYINSTALL_OSARCH:S/^-//}
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o build-temp -s temp.${PYEASYINSTALL_OSARCH:S/^-//}-${PYTHON_VER}
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
+ @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
+
.include <bsd.port.mk>