pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/libretro-picodrive emulators/libretro-picodr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52b184e7b2f6
branches:  trunk
changeset: 311342:52b184e7b2f6
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Aug 08 23:47:49 2018 +0000

description:
emulators/libretro-picodrive: add a patch to stop the makefile overriding CC.

diffstat:

 emulators/libretro-picodrive/Makefile                        |   3 +-
 emulators/libretro-picodrive/distinfo                        |   4 +-
 emulators/libretro-picodrive/patches/patch-Makefile.libretro |  16 ++++++++++-
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 011e04d2cf63 -r 52b184e7b2f6 emulators/libretro-picodrive/Makefile
--- a/emulators/libretro-picodrive/Makefile     Wed Aug 08 23:21:12 2018 +0000
+++ b/emulators/libretro-picodrive/Makefile     Wed Aug 08 23:47:49 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2018/08/08 22:14:20 nia Exp $
+# $NetBSD: Makefile,v 1.4 2018/08/08 23:47:49 nia Exp $
 
 DISTNAME=      libretro-picodrive-20180722
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        picodrive
diff -r 011e04d2cf63 -r 52b184e7b2f6 emulators/libretro-picodrive/distinfo
--- a/emulators/libretro-picodrive/distinfo     Wed Aug 08 23:21:12 2018 +0000
+++ b/emulators/libretro-picodrive/distinfo     Wed Aug 08 23:47:49 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/08/08 22:14:20 nia Exp $
+$NetBSD: distinfo,v 1.4 2018/08/08 23:47:49 nia Exp $
 
 SHA1 (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 61b5269de3b1f36f22f13f4d2626bf5bd25b2690
 RMD160 (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 40a1b55c0e3f96cdf84aca88b03e4e2492915dea
 SHA512 (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 
3241fd627a2a506f2e01241a2cef0635dc2efb1598a8c538809f7c104b3de20629b76342a2223bcff958def5cf71b1da5cc0f136879374339a1067170439035c
 Size (libretro-picodrive-20180722-2db90628f5f29f1d4030172ce4f57ab757fa9d93.tar.gz) = 1411113 bytes
-SHA1 (patch-Makefile.libretro) = 883b434e5c549d3ae855162ed8f5b3ff0bed9c7e
+SHA1 (patch-Makefile.libretro) = 466689dd6ea1de117f2e70e8811b37fb1013a751
diff -r 011e04d2cf63 -r 52b184e7b2f6 emulators/libretro-picodrive/patches/patch-Makefile.libretro
--- a/emulators/libretro-picodrive/patches/patch-Makefile.libretro      Wed Aug 08 23:21:12 2018 +0000
+++ b/emulators/libretro-picodrive/patches/patch-Makefile.libretro      Wed Aug 08 23:47:49 2018 +0000
@@ -1,11 +1,23 @@
-$NetBSD: patch-Makefile.libretro,v 1.1 2018/08/08 22:14:20 nia Exp $
+$NetBSD: patch-Makefile.libretro,v 1.2 2018/08/08 23:47:49 nia Exp $
+
+Don't redefine CC.
 
 Picodrive is written in C. Let's link with a C compiler instead of
 a C++ compiler.
 
 --- Makefile.libretro.orig     2018-07-22 20:01:05.000000000 +0000
 +++ Makefile.libretro
-@@ -656,7 +656,7 @@ else
+@@ -68,9 +68,6 @@ ifeq ($(platform), unix)
+       DONT_COMPILE_IN_ZLIB = 1
+       CFLAGS += -DFAMEC_NO_GOTOS
+       use_sh2drc = 1
+-ifneq ($(findstring SunOS,$(shell uname -a)),)
+-      CC=gcc
+-endif
+ 
+ # Portable Linux
+ else ifeq ($(platform), linux-portable)
+@@ -656,7 +653,7 @@ else
        LD = link.exe
  endif
  else



Home | Main Index | Thread Index | Old Index