summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-16 22:59:08 +0000
committerjoerg <joerg>2007-08-16 22:59:08 +0000
commit875d1c78ced4d906012c9246b95045d4f26f0dee (patch)
treeedb49b14c1c89d4ba325196e37cda6e00cec68a3
parentf680ef3e661f76e81ac0cbf4c8212f2ea24c07b7 (diff)
downloadpkgsrc-875d1c78ced4d906012c9246b95045d4f26f0dee.tar.gz
Supports DESTDIR. Remove x11 option -- it still requires Xaw to build
and that makes it kind of pointless.
-rw-r--r--games/freeciv-client/Makefile4
-rw-r--r--games/freeciv-client/options.mk7
2 files changed, 4 insertions, 7 deletions
diff --git a/games/freeciv-client/Makefile b/games/freeciv-client/Makefile
index c3fbacb7cc9..6258d8cc0b9 100644
--- a/games/freeciv-client/Makefile
+++ b/games/freeciv-client/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.32 2007/03/18 13:12:14 adam Exp $
+# $NetBSD: Makefile,v 1.33 2007/08/16 22:59:08 joerg Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= Freeciv client
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share
DEPENDS+= freeciv-sounds>=3.0:../../games/freeciv-sounds
diff --git a/games/freeciv-client/options.mk b/games/freeciv-client/options.mk
index 2aa8ec42750..3a9e940f0d0 100644
--- a/games/freeciv-client/options.mk
+++ b/games/freeciv-client/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2005/10/20 13:37:41 dillo Exp $
+# $NetBSD: options.mk,v 1.3 2007/08/16 22:59:08 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeciv-client
PKG_OPTIONS_REQUIRED_GROUPS= backend
@@ -32,8 +32,3 @@ CONFIGURE_ARGS+= --enable-client=xaw3d
CONFIGURE_ARGS+= --enable-ftwl=sdl
.include "../../audio/SDL_mixer/buildlink3.mk"
.endif
-
-.if !empty(PKG_OPTIONS:Mx11)
-CONFIGURE_ARGS+= --enable-ftwl=x11
-.include "../../mk/x11.buildlink3.mk"
-.endif