pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/crafty Set BUILD_TARGET correctly on Linux. Thi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ecb590f53834
branches: trunk
changeset: 495269:ecb590f53834
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Jun 06 03:59:00 2005 +0000
description:
Set BUILD_TARGET correctly on Linux. This fixes PR pkg/29379.
diffstat:
games/crafty/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r f8ce0f3a168f -r ecb590f53834 games/crafty/Makefile
--- a/games/crafty/Makefile Mon Jun 06 03:38:27 2005 +0000
+++ b/games/crafty/Makefile Mon Jun 06 03:59:00 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2005/04/11 21:45:49 tv Exp $
+# $NetBSD: Makefile,v 1.34 2005/06/06 03:59:00 minskim Exp $
DISTNAME= crafty-18.15
CATEGORIES= games
@@ -32,6 +32,12 @@
CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O1/}
.elif !empty(MACHINE_PLATFORM:MNetBSD-*-*)
BUILD_TARGET= netbsd
+.elif !empty(MACHINE_PLATFORM:MLinux-*-i386)
+. if ${OBJECT_FMT} == "ELF"
+BUILD_TARGET= linux-elf
+. else
+BUILD_TARGET= linux
+. endif
.elif !empty(MACHINE_PLATFORM:MSunOS-*-*)
BUILD_TARGET= solaris-gcc
.else
Home |
Main Index |
Thread Index |
Old Index