diff options
author | jlam <jlam> | 2001-06-11 02:05:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-11 02:05:07 +0000 |
commit | 1c173ba8e2deca49b126f8bd939dadf46f3be360 (patch) | |
tree | 8a4903fb4961ac3e5118ca00c446b0bcfea9697d /games | |
parent | fd9688151b15b136e8bb62a77ec3f4c6abf839da (diff) | |
download | pkgsrc-1c173ba8e2deca49b126f8bd939dadf46f3be360.tar.gz |
The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles. As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
Diffstat (limited to 'games')
-rw-r--r-- | games/freeciv-server/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/games/freeciv-server/Makefile b/games/freeciv-server/Makefile index 643d8feadae..906f828424c 100644 --- a/games/freeciv-server/Makefile +++ b/games/freeciv-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/06/10 00:08:44 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2001/06/11 02:05:10 jlam Exp $ PKGNAME= ${DISTNAME:S/-/-server-/} @@ -14,8 +14,7 @@ USE_GNU_READLINE= # uses callback interface of GNU readline .include "../../devel/readline/buildlink.mk" -CPPFLAGS+= -I${BUILDLINK_INCDIR} -LDFLAGS+= -L${BUILDLINK_LIBDIR} +CONFIGURE_ENV+= LIBS="${LIBS}" LIBS+= -ltermcap do-install: |