Fix build on 4.x.
Reported by: Li-lun Wang <llwang@infor.org>
This commit is contained in:
parent
f10aa2ade5
commit
b4e9022788
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75522
1 changed files with 4 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue