Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-game py-game: Fix X11_TYPE=native and python2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b78f8b0ed67
branches:  trunk
changeset: 434826:0b78f8b0ed67
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jun 22 11:33:41 2020 +0000

description:
py-game: Fix X11_TYPE=native and python27 build under NetBSD 9

* Detect libX11 library in /usr/X11R7 too.
* And this change does not break python37 build.

diffstat:

 devel/py-game/distinfo                                  |   4 ++--
 devel/py-game/patches/patch-buildconfig_config__unix.py |  11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r 0d61f7040425 -r 0b78f8b0ed67 devel/py-game/distinfo
--- a/devel/py-game/distinfo    Mon Jun 22 11:18:38 2020 +0000
+++ b/devel/py-game/distinfo    Mon Jun 22 11:33:41 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2019/06/06 21:46:11 adam Exp $
+$NetBSD: distinfo,v 1.11 2020/06/22 11:33:41 ryoon Exp $
 
 SHA1 (pygame-1.9.6.tar.gz) = d055cf1e37d8c340579e2d745e8ca4c9397767da
 RMD160 (pygame-1.9.6.tar.gz) = abe4dc7b5e350617048474a3d168d9d1d09eae2b
@@ -7,4 +7,4 @@
 SHA1 (patch-buildconfig_Setup.SDL1.in) = 2f4b60f933952b67092fabfe4c84d7525b9d0338
 SHA1 (patch-buildconfig_Setup.SDL2.in) = 9b33e714df4319622aac66ced2b3ce36f879dc8c
 SHA1 (patch-buildconfig_config__darwin.py) = c1e8ac90619fce59e250a33175a546cd235c0fe1
-SHA1 (patch-buildconfig_config__unix.py) = 31185536cbc25550df3441607ec278c533a28f1f
+SHA1 (patch-buildconfig_config__unix.py) = 1072834d9eb38170a4bc650c9dea0992f3e0aba8
diff -r 0d61f7040425 -r 0b78f8b0ed67 devel/py-game/patches/patch-buildconfig_config__unix.py
--- a/devel/py-game/patches/patch-buildconfig_config__unix.py   Mon Jun 22 11:18:38 2020 +0000
+++ b/devel/py-game/patches/patch-buildconfig_config__unix.py   Mon Jun 22 11:33:41 2020 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-buildconfig_config__unix.py,v 1.1 2019/06/06 21:46:12 adam Exp $
+$NetBSD: patch-buildconfig_config__unix.py,v 1.2 2020/06/22 11:33:41 ryoon Exp $
 
 Detect X11R6 or X11R7; avoid localbase overriding search.
 Use correct libpng.
 Disable portmidi and porttime; porttime is a part of portmidi.
 
---- buildconfig/config_unix.py.orig    2019-06-06 17:38:22.000000000 +0000
+--- buildconfig/config_unix.py.orig    2019-04-25 06:14:17.000000000 +0000
 +++ buildconfig/config_unix.py
-@@ -148,8 +148,8 @@ def main(sdl2=False):
+@@ -148,12 +148,12 @@ def main(sdl2=False):
  
      #these get prefixes with '/usr' and '/usr/local' or the $LOCALBASE
      if sdl2:
@@ -17,6 +17,11 @@
                         '/lib/i386-linux-gnu', '/lib/x86_64-linux-gnu']
      else:
          origincdirs = ['/include', '/include/SDL', '/include/SDL']
+-        origlibdirs = ['/lib','/lib64','/X11R6/lib']
++        origlibdirs = ['/lib','/lib64','/X11R6/lib','/X11R7/lib']
+     if 'ORIGLIBDIRS' in os.environ and os.environ['ORIGLIBDIRS'] != "":
+         origlibdirs = os.environ['ORIGLIBDIRS'].split(":")
+ 
 @@ -216,13 +216,12 @@ def main(sdl2=False):
              #Dependency('GFX', 'SDL_gfxPrimitives.h', 'libSDL_gfx.so', ['SDL_gfx']),
          ]



Home | Main Index | Thread Index | Old Index