diff options
author | naddy <naddy@FreeBSD.org> | 2003-02-15 04:19:42 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-02-15 04:19:42 +0800 |
commit | e082819d0e67b944b643e53abfe6e21ce8051efc (patch) | |
tree | 5a71f6c0eb331d9cd8931800a6c2677a163c9980 /misc/dvorak7min | |
parent | dff6d19c88857dfa08718dbdc0b1479c24e96dd4 (diff) | |
download | freebsd-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/Makefile | 7 |
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: |