From aa39354b47c87456601d0d2eab4dd3107a814dea Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 3 Oct 2011 04:05:34 +0000 Subject: Fix build with native X. --- games/gltron/distinfo | 3 ++- games/gltron/patches/patch-Makefile_in | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 games/gltron/patches/patch-Makefile_in (limited to 'games') diff --git a/games/gltron/distinfo b/games/gltron/distinfo index 2b90502cdb9..0eff90e6cdf 100644 --- a/games/gltron/distinfo +++ b/games/gltron/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.5 2006/06/29 19:55:37 joerg Exp $ +$NetBSD: distinfo,v 1.6 2011/10/03 04:05:34 dholland Exp $ SHA1 (gltron-0.70-source.tar.gz) = 267bffa75c2c9f8bb1fa8a2d2254eef8b90be1d6 RMD160 (gltron-0.70-source.tar.gz) = 78f624cb622e9bc4847b912a6f7686949c197e54 Size (gltron-0.70-source.tar.gz) = 2182440 bytes +SHA1 (patch-Makefile_in) = cd8bec4eccf7b21c9891f314928904d730bfc2ce SHA1 (patch-aa) = ab420d8775693c0e609879659f9d5cd2b9644398 SHA1 (patch-ab) = 3890e5b3c5c1ba27056e6f6030eac7309816bacb SHA1 (patch-ac) = b7b42d8bce2c320650bfc45244e98b4ad2769c84 diff --git a/games/gltron/patches/patch-Makefile_in b/games/gltron/patches/patch-Makefile_in new file mode 100644 index 00000000000..e4a11537fad --- /dev/null +++ b/games/gltron/patches/patch-Makefile_in @@ -0,0 +1,19 @@ +$NetBSD: patch-Makefile_in,v 1.1 2011/10/03 04:05:34 dholland Exp $ + +Cause LDFLAGS to be used instead of ignored. I'm not sure if this is +something upstream did wrong or a bug in the archaic automake this +package used or what. However, without this the necessary rpath for +X11BASE doesn't get set and the native X build fails if PKG_DEVELOPER +is on. + +--- Makefile.in~ 2003-12-14 09:00:19.000000000 +0000 ++++ Makefile.in +@@ -132,7 +132,7 @@ gltron_DEPENDENCIES = src/game/libgame.a + nebu/audio/libaudio.a nebu/video/libvideo.a \ + nebu/scripting/libscripting.a nebu/filesystem/libfilesystem.a \ + nebu/base/libbase.a lua/src/liblua.a lua/src/lib/liblualib.a +-gltron_LDFLAGS = ++gltron_LDFLAGS = $(LDFLAGS) + + DEFS = @DEFS@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -- cgit v1.2.3