diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-06 03:59:00 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-06 03:59:00 +0000 |
commit | 67820e0446e16996dfd1b35e2944afdac1feca30 (patch) | |
tree | 2cefae334b20b3da48c02c70c528d81bac54e1db /games | |
parent | 887a5308276993bf66992efe07ccb4b310ce1067 (diff) | |
download | pkgsrc-67820e0446e16996dfd1b35e2944afdac1feca30.tar.gz |
Set BUILD_TARGET correctly on Linux. This fixes PR pkg/29379.
Diffstat (limited to 'games')
-rw-r--r-- | games/crafty/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile index 3401e31fdbc..6ba47030e39 100644 --- a/games/crafty/Makefile +++ b/games/crafty/Makefile @@ -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 @@ BUILD_TARGET= netbsd-sparc 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 |