aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dvorak7min
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-02-15 04:19:42 +0800
committernaddy <naddy@FreeBSD.org>2003-02-15 04:19:42 +0800
commite082819d0e67b944b643e53abfe6e21ce8051efc (patch)
tree5a71f6c0eb331d9cd8931800a6c2677a163c9980 /misc/dvorak7min
parentdff6d19c88857dfa08718dbdc0b1479c24e96dd4 (diff)
downloadfreebsd-ports-gnome-e082819d0e67b944b643e53abfe6e21ce8051efc.tar.gz
freebsd-ports-gnome-e082819d0e67b944b643e53abfe6e21ce8051efc.tar.zst
freebsd-ports-gnome-e082819d0e67b944b643e53abfe6e21ce8051efc.zip
Fix build on 4.x.
Reported by: Li-lun Wang <llwang@infor.org>
Diffstat (limited to 'misc/dvorak7min')
-rw-r--r--misc/dvorak7min/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/dvorak7min/Makefile b/misc/dvorak7min/Makefile
index c04ffe32522a..97fb03e032d1 100644
--- a/misc/dvorak7min/Makefile
+++ b/misc/dvorak7min/Makefile
@@ -13,14 +13,15 @@ MASTER_SITES= http://lightside.eresmas.com/
MAINTAINER= llwang@infor.org
COMMENT= An ncurses-based Dvorak typing tutor
-MAKE_ARGS= PROF="${CFLAGS}"
-
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500041
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib" \
+MAKE_ARGS= PROF="-I${LOCALBASE}/include ${CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lncurses -lgnugetopt"
+.else
+MAKE_ARGS= PROF="${CFLAGS}"
.endif
pre-build: