aboutsummaryrefslogtreecommitdiff
path: root/editors/biew
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-07-09 16:01:17 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-07-09 16:01:17 +0000
commita80766b711041cb3a4f35dfa47bd64c0e6e424c7 (patch)
treefdd9b0f15838d0e9fd68b1d5180fddaf67612997 /editors/biew
parent220edb1eff1ffcb4501e9a63cbbd5489be6036c7 (diff)
downloadports-a80766b711041cb3a4f35dfa47bd64c0e6e424c7.tar.gz
ports-a80766b711041cb3a4f35dfa47bd64c0e6e424c7.zip
Fix build on non-i386 platforms. Also fixes
PR: 53532 Submitted by: Mark Linimon <linimon@lonesome.com>
Notes
Notes: svn path=/head/; revision=84531
Diffstat (limited to 'editors/biew')
-rw-r--r--editors/biew/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/biew/Makefile b/editors/biew/Makefile
index 73a84fb83cef..a1a51685f0e9 100644
--- a/editors/biew/Makefile
+++ b/editors/biew/Makefile
@@ -37,6 +37,10 @@ MAKE_ARGS+= HOST_CFLAGS="${HOST_CFLAGS}" CC="${CC}" LD="${CC}" \
TARGET_OS=unix TARGET_SCREEN_LIB=curses \
USE_MOUSE=y
+.if ${MACHINE_ARCH} != "i386"
+MAKE_ARGS+= TARGET_PLATFORM=generic
+.endif
+
post-build:
@ ${LN} -sf ../../biewlib ${WRKSRC}/tools/biewhlp/biewlib
cd ${WRKSRC}/tools/biewhlp; ${GMAKE} ${MAKE_ARGS}