aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2011-11-30 10:20:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2011-11-30 10:20:06 +0800
commit00654b904418d99101ab00e89018933f75789ad5 (patch)
treeed2a2df0a1f8eec1890b4cd887988ea9258203de /editors
parentdf976a90d7ad2a25333c2b8e62475ad0ce613e14 (diff)
downloadfreebsd-ports-gnome-00654b904418d99101ab00e89018933f75789ad5.tar.gz
freebsd-ports-gnome-00654b904418d99101ab00e89018933f75789ad5.tar.zst
freebsd-ports-gnome-00654b904418d99101ab00e89018933f75789ad5.zip
- Add note on 64bit incompatibility
Feature safe: yes
Diffstat (limited to 'editors')
-rw-r--r--editors/hnb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/hnb/Makefile b/editors/hnb/Makefile
index 22ad8867bdfb..8e4c36c11228 100644
--- a/editors/hnb/Makefile
+++ b/editors/hnb/Makefile
@@ -21,6 +21,12 @@ MAKE_JOBS_UNSAFE= yes
MAN1= hnb.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= segfaults on 64bit systems
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile
@@ -35,4 +41,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>