summaryrefslogtreecommitdiff
path: root/games/crossfire-srv
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-10-26 11:10:35 +0000
committeragc <agc@pkgsrc.org>2001-10-26 11:10:35 +0000
commitf8da7e868ce642f00c9a32227fe1910bd1c5146a (patch)
treeabdac2cc41a3bbbb7fd7d45a7c525969c2a8e156 /games/crossfire-srv
parent1b93af249cfe1d1ce28381431d6889889c7abb1d (diff)
downloadpkgsrc-f8da7e868ce642f00c9a32227fe1910bd1c5146a.tar.gz
It would appear that this package has a silent dependency on the
dmalloc package, so add a dependency on the same, and add build glue so that the random_maps and common directories get built properly.
Diffstat (limited to 'games/crossfire-srv')
-rw-r--r--games/crossfire-srv/Makefile5
-rw-r--r--games/crossfire-srv/distinfo3
-rw-r--r--games/crossfire-srv/patches/patch-ac13
3 files changed, 19 insertions, 2 deletions
diff --git a/games/crossfire-srv/Makefile b/games/crossfire-srv/Makefile
index 0747335ab9c..356e918b5d3 100644
--- a/games/crossfire-srv/Makefile
+++ b/games/crossfire-srv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/10/26 10:43:54 agc Exp $
+# $NetBSD: Makefile,v 1.8 2001/10/26 11:10:35 agc Exp $
#
DISTNAME= crossfire-1.0.0
@@ -12,6 +12,7 @@ HOMEPAGE= http://crossfire.real-time.com/
COMMENT= X11 multi/single player game similar to gauntlet and nethack
DEPENDS+= png>=1.0.11:../../graphics/png
+DEPENDS+= dmalloc-[0-9]*:../../devel/dmalloc
EXTRACT_ONLY= ${CF_SRC}
@@ -27,6 +28,8 @@ USE_PERL5= yes
CONFIGURE_ARGS+= --prefix=${LOCALBASE}
CONFIGURE_ARGS+= --with-includes=-I${LOCALBASE}/include
+MAKE_ENV+= EXTRA_INCLUDES=-I${LOCALBASE}/include
+
REPLACE_PERL= lib/xpmtopix.pl lib/adm/check-xpm.pl lib/adm/make_xpm_file.pl
REPLACE_PERL+= lib/adm/map_expand.pl lib/adm/mapslitter.pl
REPLACE_PERL+= lib/adm/archsearch.pl lib/adm/collect_images.pl
diff --git a/games/crossfire-srv/distinfo b/games/crossfire-srv/distinfo
index e775e0967a4..4cadfdcf5ea 100644
--- a/games/crossfire-srv/distinfo
+++ b/games/crossfire-srv/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2001/08/01 16:26:56 wiz Exp $
+$NetBSD: distinfo,v 1.5 2001/10/26 11:10:36 agc Exp $
SHA1 (crossfire-1.0.0.tar.bz2) = 2ec13e71591d245726e19aa10de7619a2e113b0d
Size (crossfire-1.0.0.tar.bz2) = 2767828 bytes
@@ -6,3 +6,4 @@ SHA1 (crossfire-1.0.0-maps.tar.bz2) = 81d11a2561adf2bc2ee36192160014e9a1bdcf08
Size (crossfire-1.0.0-maps.tar.bz2) = 3066588 bytes
SHA1 (patch-aa) = 48b06c6db01ed17a0cc1c7263ae74d5559cff8ca
SHA1 (patch-ab) = c702d3432ee2481175c3b6f863cd1f1357a6f7ed
+SHA1 (patch-ac) = f5e2103dfd33e993a8ed8dc8fd78198d51801dc1
diff --git a/games/crossfire-srv/patches/patch-ac b/games/crossfire-srv/patches/patch-ac
new file mode 100644
index 00000000000..1a70ce8574e
--- /dev/null
+++ b/games/crossfire-srv/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2001/10/26 11:10:36 agc Exp $
+
+--- random_maps/Makefile.in 2001/10/26 10:56:32 1.1
++++ random_maps/Makefile.in 2001/10/26 10:56:58
+@@ -63,7 +63,7 @@
+
+ INCLUDES= $(EXTRA_INCLUDES) -I../include -I.
+
+-LIBS = @LIBS@ $(EXTRA_LIBS) -L../common -lcross
++LIBS = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib @LIBS@ $(EXTRA_LIBS) -L../common -lcross
+
+ SHELL = @BOURNE_SHELL@
+