pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/sfxr Honor LDFLAGS (and CXXFLAGS while I'm here)...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4712548439dd
branches: trunk
changeset: 365292:4712548439dd
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jul 13 12:16:27 2017 +0000
description:
Honor LDFLAGS (and CXXFLAGS while I'm here). Fixes RELRO build.
diffstat:
audio/sfxr/Makefile | 3 +--
audio/sfxr/distinfo | 3 ++-
audio/sfxr/patches/patch-Makefile | 16 ++++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r c4d77b2d8b88 -r 4712548439dd audio/sfxr/Makefile
--- a/audio/sfxr/Makefile Thu Jul 13 12:10:29 2017 +0000
+++ b/audio/sfxr/Makefile Thu Jul 13 12:16:27 2017 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2017/02/12 06:25:05 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.27 2017/07/13 12:16:27 wiz Exp $
DISTNAME= sfxr-sdl-1.2.1
PKGNAME= ${DISTNAME:S/-sdl//}
diff -r c4d77b2d8b88 -r 4712548439dd audio/sfxr/distinfo
--- a/audio/sfxr/distinfo Thu Jul 13 12:10:29 2017 +0000
+++ b/audio/sfxr/distinfo Thu Jul 13 12:16:27 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:12:49 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/07/13 12:16:27 wiz Exp $
SHA1 (sfxr-sdl-1.2.1.tar.gz) = c5b1a755f45aae256101b1f83dcd6f71efb4f206
RMD160 (sfxr-sdl-1.2.1.tar.gz) = be13e8591b109dcc348bc407f3d5dcfae540cf13
SHA512 (sfxr-sdl-1.2.1.tar.gz) = a918f5212d77e10769d44808e0fa34c3df1da6880663c6a7d966860d145c0c2979b6a6772d12a35ca44b4d7337a38698c722569446eca95c2041ae86ec691adc
Size (sfxr-sdl-1.2.1.tar.gz) = 19444 bytes
+SHA1 (patch-Makefile) = 95463748fccf863936c8bfc4f45a411d8b4b98b3
diff -r c4d77b2d8b88 -r 4712548439dd audio/sfxr/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sfxr/patches/patch-Makefile Thu Jul 13 12:16:27 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile,v 1.1 2017/07/13 12:16:27 wiz Exp $
+
+Honor CXXFLAGS and LDFLAGS.
+
+--- Makefile.orig 2017-07-13 12:05:54.572398200 +0000
++++ Makefile
+@@ -1,7 +1,7 @@
+ CFLAGS=-ggdb
+ GTK=3.0
+-CXXFLAGS=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
+-LDFLAGS=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
++CXXFLAGS+=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
++LDFLAGS+=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
+
+ sfxr: main.cpp tools.h sdlkit.h
+ $(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
Home |
Main Index |
Thread Index |
Old Index