summaryrefslogtreecommitdiff
path: root/games/gltron/patches/patch-Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'games/gltron/patches/patch-Makefile_in')
-rw-r--r--games/gltron/patches/patch-Makefile_in19
1 files changed, 19 insertions, 0 deletions
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)