aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-03-22 18:03:05 +0800
committersat <sat@FreeBSD.org>2007-03-22 18:03:05 +0800
commitf7681f5bc39a71df2e006dd10656dfef56c2b0bf (patch)
tree6a4770fff00bf2797c580f9547e0bd8349d2dbdb /devel
parentc4cc904541ee203f659c92873f7d742b51b2cb2f (diff)
downloadfreebsd-ports-gnome-f7681f5bc39a71df2e006dd10656dfef56c2b0bf.tar.gz
freebsd-ports-gnome-f7681f5bc39a71df2e006dd10656dfef56c2b0bf.tar.zst
freebsd-ports-gnome-f7681f5bc39a71df2e006dd10656dfef56c2b0bf.zip
- Limit archs to supported
Reported by: pointyhat via kris
Diffstat (limited to 'devel')
-rw-r--r--devel/9base/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/9base/Makefile b/devel/9base/Makefile
index 0fc9121294ad..c5014f55c4f0 100644
--- a/devel/9base/Makefile
+++ b/devel/9base/Makefile
@@ -26,6 +26,9 @@ APPS= awk basename bc cat cleanname date dc echo grep ls mk rc read sed seq\
PLIST_FILES= ${APPS:S|^|9/bin/|} ${APPS:S|^|9/man/man1/|:S|$|.1|} 9/man/man7/regexp.7 9/etc/rcmain
PLIST_DIRS= 9/bin 9/etc 9/man/man1 9/man/man7 9/man 9
+ONLY_FOR_ARCHS= i386 amd64 sparc64
+ONLY_FOR_ARCHS_REASON= has low-level code unavailable for ${ARCH}
+
post-patch:
@${REINPLACE_CMD} -e 's|PREFIX|"${PREFIX}/9"|' ${WRKSRC}/rc/plan9ish.c
@${REINPLACE_CMD} -e '/OBJTYPE!=/s|!=.*|=${ARCH:S,i386,386,:S,amd64,x86_64,:S,sparc64,sun4u,}|' ${WRKSRC}/lib9/Makefile