diff options
author | tnn <tnn@pkgsrc.org> | 2020-03-16 14:08:46 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-03-16 14:08:46 +0000 |
commit | 11202883368e231c143e8a1d7bd6706021298c2a (patch) | |
tree | c40a4d4ae329db12dc25ad2891059079906e6de5 /audio | |
parent | 60867d8057ac5884755f75d1fc2ccdb00db83c2e (diff) | |
download | pkgsrc-11202883368e231c143e8a1d7bd6706021298c2a.tar.gz |
tcd: fix build on Linux
Diffstat (limited to 'audio')
-rw-r--r-- | audio/tcd/distinfo | 3 | ||||
-rw-r--r-- | audio/tcd/patches/patch-configure | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/tcd/distinfo b/audio/tcd/distinfo index d261afae9af..78cc324cb3f 100644 --- a/audio/tcd/distinfo +++ b/audio/tcd/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/03 01:12:52 agc Exp $ +$NetBSD: distinfo,v 1.3 2020/03/16 14:08:46 tnn Exp $ SHA1 (tcd-2.2.0.tar.bz2) = 8ad1b9201d94554fe4d96b60da1cab577eae77cf RMD160 (tcd-2.2.0.tar.bz2) = f00702cfe496f85248534e155dc1d58ae88213b5 SHA512 (tcd-2.2.0.tar.bz2) = d32f940afd6f53ae8c8754298fd872c0577c9caf8ffba46938e4019f5672fc112d5a48686e836269a08f2aec801dcac435a1da3fc1557a1af66d584337df011b Size (tcd-2.2.0.tar.bz2) = 90157 bytes +SHA1 (patch-configure) = 00b65d1bf18e9399afe1da2484daa1435a898fd6 diff --git a/audio/tcd/patches/patch-configure b/audio/tcd/patches/patch-configure new file mode 100644 index 00000000000..f0560c3e8db --- /dev/null +++ b/audio/tcd/patches/patch-configure @@ -0,0 +1,17 @@ +$NetBSD: patch-configure,v 1.1 2020/03/16 14:08:46 tnn Exp $ + +make -lSDL go in $LIBS instead of $LDFLAGS. +Fixes build on Linux due $LIBS appearing later on the command +line, appeasing link editor search order. + +--- configure.orig 2004-06-15 23:09:04.000000000 +0000 ++++ configure +@@ -3000,7 +3000,7 @@ echo "$as_me: error: sdl is too old (ver + + + CPPFLAGS="$CPPFLAGS $SDL_CPPFLAGS" +-LDFLAGS="$LDFLAGS $SDL_LDFLAGS" ++LIBS="$LIBS $SDL_LDFLAGS" + + + |