summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-19 16:41:39 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-19 16:41:39 +0000
commit4d30fe9a95663100c458d533b509818af0ab5dcb (patch)
tree6c4eb165c7ebfda8058b53778df6cf093273622f /games
parent1ff999ca1f4f1f15dda3ca99b5bc3c1159e5f9c1 (diff)
downloadpkgsrc-4d30fe9a95663100c458d533b509818af0ab5dcb.tar.gz
Use FreeBSD target for DragonFly as well. Honor CC and CXX for
FreeBSD target, gcc is not enough to link on DragonFly. XXX Is the override necessary at all? XXX Other platforms should do this as well.
Diffstat (limited to 'games')
-rw-r--r--games/crafty/Makefile4
-rw-r--r--games/crafty/distinfo4
-rw-r--r--games/crafty/patches/patch-ac13
3 files changed, 16 insertions, 5 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index ea3476d3a09..5ffc3ccda79 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2005/12/18 21:11:11 rillig Exp $
+# $NetBSD: Makefile,v 1.38 2005/12/19 16:41:39 joerg Exp $
DISTNAME= crafty-18.15
CATEGORIES= games
@@ -40,6 +40,8 @@ BUILD_TARGET= linux
. endif
.elif !empty(MACHINE_PLATFORM:MSunOS-*-*)
BUILD_TARGET= solaris-gcc
+.elif !empty(MACHINE_PLATFORM:MDragonFly-*-i386)
+BUILD_TARGET= freebsd
.else
BUILD_TARGET= generic
.endif
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index df88f179d42..ca3d9053045 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/02/23 23:11:56 agc Exp $
+$NetBSD: distinfo,v 1.12 2005/12/19 16:41:39 joerg Exp $
SHA1 (crafty-18.15-1/crafty-18.15.tar.gz) = b0f19212643a4dffb49c8e3b1ce0be349f3ddb08
RMD160 (crafty-18.15-1/crafty-18.15.tar.gz) = 02947cacd21533fde8f019dbeb661529166faf2e
@@ -13,4 +13,4 @@ SHA1 (crafty-18.15-1/crafty.faq) = 7ba5cc19e190fdcf1697e3130c679ce5e50141db
RMD160 (crafty-18.15-1/crafty.faq) = f054393dc499627da90336b9e2b31bd753bd9954
Size (crafty-18.15-1/crafty.faq) = 10252 bytes
SHA1 (patch-ab) = cf686338b72b83922b23751d75011e92cf3dbe83
-SHA1 (patch-ac) = 507a7688c2aee795b3cf20c209f1edca076dfd9e
+SHA1 (patch-ac) = 39ca98e9cb174f9aeecbae9ddd526b20a83fa27f
diff --git a/games/crafty/patches/patch-ac b/games/crafty/patches/patch-ac
index 1788b962390..bf13fa3bb23 100644
--- a/games/crafty/patches/patch-ac
+++ b/games/crafty/patches/patch-ac
@@ -1,8 +1,17 @@
-$NetBSD: patch-ac,v 1.3 2004/01/28 16:21:08 agc Exp $
+$NetBSD: patch-ac,v 1.4 2005/12/19 16:41:39 joerg Exp $
--- Makefile 2004/01/28 14:58:48 1.1
+++ Makefile 2004/01/28 14:59:16
-@@ -422,7 +422,7 @@
+@@ -150,7 +150,7 @@ dos:
+
+ freebsd:
+ $(MAKE) target=FreeBSD \
+- CC=gcc CXX='$$(CC)' \
++ CC='$(CC)' CXX='$(CXX)' \
+ CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \
+ CXFLAGS='$(CFLAGS)' \
+ LDFLAGS='$(LDFLAGS)' \
+@@ -422,7 +422,7 @@ crafty-make:
crafty
crafty: $(objects)