diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-22 06:05:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-22 06:05:25 +0000 |
commit | e8b892dd365074d30999374313f7dd071fd29e0b (patch) | |
tree | d5aaaae10f27c002f5e1b4fd26431d1477ec7da2 /games/freeciv-server/Makefile | |
parent | a01649af1c0fa4618909ac0122b8061d2703d8e3 (diff) | |
download | pkgsrc-e8b892dd365074d30999374313f7dd071fd29e0b.tar.gz |
Use devel/readline/Makefile.readline to get readline dependency, and
document why GNU readline is required.
Diffstat (limited to 'games/freeciv-server/Makefile')
-rw-r--r-- | games/freeciv-server/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/games/freeciv-server/Makefile b/games/freeciv-server/Makefile index 9ea331d07cb..792d90224e9 100644 --- a/games/freeciv-server/Makefile +++ b/games/freeciv-server/Makefile @@ -1,18 +1,24 @@ -# $NetBSD: Makefile,v 1.5 2001/05/02 15:11:18 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2001/05/22 06:05:25 jlam Exp $ PKGNAME= ${DISTNAME:S/-/-server-/} COMMENT= Freeciv game server DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share -DEPENDS+= readline>=2.2:../../devel/readline CONFIGURE_ARGS+= --enable-client=no CONFIGURE_ARGS+= --disable-make-data CONFIGURE_ARGS+= --with-readline -CPPFLAGS+= -I${LOCALBASE}/include # readline.h -LIBS+= -ltermcap # -lreadline -ltermcap +USE_GNU_READLINE= # uses callback interface of GNU readline + +.include "../../devel/readline/Makefile.readline" + +CPPFLAGS+= -I${WRKINCDIR} +LDFLAGS+= -L${WRKLIBDIR} +LIBS+= -ltermcap + +pre-configure: link-readline-headers link-readline-libs do-install: cd ${WRKSRC}/server; ${SETENV} ${MAKE_ENV} \ |