aboutsummaryrefslogtreecommitdiff
path: root/misc/clpbar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/clpbar/Makefile')
-rw-r--r--misc/clpbar/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/misc/clpbar/Makefile b/misc/clpbar/Makefile
index 89d1287c6929..2ddcc55a16d0 100644
--- a/misc/clpbar/Makefile
+++ b/misc/clpbar/Makefile
@@ -13,9 +13,14 @@ COMMENT= Command Line Progress Bar
WRKSRC= ${WRKDIR}/bar-${PORTVERSION}
GNU_CONFIGURE= yes
MAKE_ARGS+= CFLAGS+="${CFLAGS}"
-CONFIGURE_ARGS= --disable-use-m64
PLIST_FILES= bin/bar \
man/man1/bar.1.gz
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if empty(ARCH:M*64)
+CONFIGURE_ARGS= --disable-use-m64
+.endif
+
+.include <bsd.port.post.mk>