aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-07-10 00:01:17 +0800
committernaddy <naddy@FreeBSD.org>2003-07-10 00:01:17 +0800
commite3f63f2fe25af3d137a4b2baa88de21b4ee0c733 (patch)
tree50a7c726f366afd84415dce4363ef51040917e91 /editors
parent40bd319954378e92c663bd16d968b9e2a5fd0823 (diff)
downloadfreebsd-ports-gnome-e3f63f2fe25af3d137a4b2baa88de21b4ee0c733.tar.gz
freebsd-ports-gnome-e3f63f2fe25af3d137a4b2baa88de21b4ee0c733.tar.zst
freebsd-ports-gnome-e3f63f2fe25af3d137a4b2baa88de21b4ee0c733.zip
Fix build on non-i386 platforms. Also fixes
PR: 53532 Submitted by: Mark Linimon <linimon@lonesome.com>
Diffstat (limited to 'editors')
-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}