Wed Mar 5 15:30:02 2008 UTC ()
+ Like many other packages that pull in readline/buildlink3.mk, the
  extra LIBS+=-ltermcap was there solely for readline.  Remove it
  since termcap.buildlink3.mk (pulled in via readine/buildlink3.mk)
  handles everything for us.  Bump the PKGREVISION to 1.

+ Add full DESTDIR support.


(jlam)
diff -r1.25 -r1.26 pkgsrc/games/freeciv-server/Makefile

cvs diff -r1.25 -r1.26 pkgsrc/games/freeciv-server/Makefile (expand / switch to unified diff)

--- pkgsrc/games/freeciv-server/Makefile 2008/01/06 16:39:14 1.25
+++ pkgsrc/games/freeciv-server/Makefile 2008/03/05 15:30:02 1.26
@@ -1,23 +1,25 @@ @@ -1,23 +1,25 @@
1# $NetBSD: Makefile,v 1.25 2008/01/06 16:39:14 adam Exp $ 1# $NetBSD: Makefile,v 1.26 2008/03/05 15:30:02 jlam Exp $
2 2
3PKGNAME= ${DISTNAME:S/-/-server-/} 3PKGNAME= ${DISTNAME:S/-/-server-/}
 4PKGREVISION= 1
4COMMENT= Freeciv game server 5COMMENT= Freeciv game server
5 6
6DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share 7DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share
7 8
 9PKG_DESTDIR_SUPPORT= user-destdir
 10
8#MAKE_JOBS_SAFE= no 11#MAKE_JOBS_SAFE= no
9 12
10USE_GNU_READLINE= yes 13USE_GNU_READLINE= yes
11CONFIGURE_ARGS+= --disable-make-data 14CONFIGURE_ARGS+= --disable-make-data
12CONFIGURE_ARGS+= --enable-client=no 15CONFIGURE_ARGS+= --enable-client=no
13CONFIGURE_ARGS+= --with-readline 16CONFIGURE_ARGS+= --with-readline
14LIBS+= -ltermcap 
15 17
16# Uses rl_filename_completion_function() which was introduced in readline-4.2 18# Uses rl_filename_completion_function() which was introduced in readline-4.2
17BUILDLINK_API_DEPENDS.readline+= readline>=4.2 19BUILDLINK_API_DEPENDS.readline+= readline>=4.2
18 20
19.include "../../games/freeciv-share/Makefile.common" 21.include "../../games/freeciv-share/Makefile.common"
20 22
21.include "../../devel/readline/buildlink3.mk" 23.include "../../devel/readline/buildlink3.mk"
22.include "../../devel/zlib/buildlink3.mk" 24.include "../../devel/zlib/buildlink3.mk"
23.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"