From e082819d0e67b944b643e53abfe6e21ce8051efc Mon Sep 17 00:00:00 2001 From: naddy Date: Fri, 14 Feb 2003 20:19:42 +0000 Subject: Fix build on 4.x. Reported by: Li-lun Wang --- misc/dvorak7min/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'misc/dvorak7min') 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 .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: -- cgit