diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-24 08:53:54 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-24 08:53:54 +0000 |
commit | 54718a4db7a73e26f6c276f352e0682c36b5c527 (patch) | |
tree | 5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /games | |
parent | a7c8e855cba1fc8efee19d3a05c929de3572328e (diff) | |
download | pkgsrc-54718a4db7a73e26f6c276f352e0682c36b5c527.tar.gz |
Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries. Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
Diffstat (limited to 'games')
-rw-r--r-- | games/freeciv-server/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/freeciv-server/Makefile b/games/freeciv-server/Makefile index 792d90224e9..6a47cb8350b 100644 --- a/games/freeciv-server/Makefile +++ b/games/freeciv-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/05/22 06:05:25 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2001/05/24 08:53:56 jlam Exp $ PKGNAME= ${DISTNAME:S/-/-server-/} @@ -12,13 +12,13 @@ CONFIGURE_ARGS+= --with-readline USE_GNU_READLINE= # uses callback interface of GNU readline -.include "../../devel/readline/Makefile.readline" +.include "../../devel/readline/buildlink.mk" -CPPFLAGS+= -I${WRKINCDIR} -LDFLAGS+= -L${WRKLIBDIR} +CPPFLAGS+= -I${BUILDLINK_INCDIR} +LDFLAGS+= -L${BUILDLINK_LIBDIR} LIBS+= -ltermcap -pre-configure: link-readline-headers link-readline-libs +pre-configure: ${BUILDLINK_TARGETS} do-install: cd ${WRKSRC}/server; ${SETENV} ${MAKE_ENV} \ |