pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/portaudio portaudio: honor LDFLAGS. Fixes RELRO ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9814e897fae8
branches:  trunk
changeset: 376366:9814e897fae8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 28 21:46:51 2018 +0000

description:
portaudio: honor LDFLAGS. Fixes RELRO build.

Bump PKGREVISION.

diffstat:

 audio/portaudio/Makefile         |  4 ++--
 audio/portaudio/distinfo         |  4 ++--
 audio/portaudio/patches/patch-ac |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 83a8883dbaf7 -r 9814e897fae8 audio/portaudio/Makefile
--- a/audio/portaudio/Makefile  Wed Feb 28 21:03:06 2018 +0000
+++ b/audio/portaudio/Makefile  Wed Feb 28 21:46:51 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2013/01/08 16:23:24 gdt Exp $
+# $NetBSD: Makefile,v 1.22 2018/02/28 21:46:51 wiz Exp $
 
 DISTNAME=      portaudio_v18_1
 PKGNAME=       portaudio-18.1
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    audio
 MASTER_SITES=  http://www.portaudio.com/archives/
 EXTRACT_SUFX=  .zip
diff -r 83a8883dbaf7 -r 9814e897fae8 audio/portaudio/distinfo
--- a/audio/portaudio/distinfo  Wed Feb 28 21:03:06 2018 +0000
+++ b/audio/portaudio/distinfo  Wed Feb 28 21:46:51 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.14 2015/11/03 01:12:46 agc Exp $
+$NetBSD: distinfo,v 1.15 2018/02/28 21:46:51 wiz Exp $
 
 SHA1 (portaudio_v18_1.zip) = a460ac5484137d77df17a95ce844ff7f178305b1
 RMD160 (portaudio_v18_1.zip) = 3352d70225a81aae80eefabc3701658da0c750c2
 SHA512 (portaudio_v18_1.zip) = 991be0640101bb3ec75d8168db81288f66cf876bdd3029317bc29f8711770cf93ec680bb084a3e61a9cb58258b8f08e4e1d9d84e8b7adf10f03a0f7c01dfd306
 Size (portaudio_v18_1.zip) = 550130 bytes
 SHA1 (patch-aa) = e522bfbf7f69d6f15fd0a32e01a480db922acc56
-SHA1 (patch-ac) = 08740265e8957d2ce655b54dba40e8d90407f4f6
+SHA1 (patch-ac) = d8a92333a77a3fc7079c55bec939142308569536
 SHA1 (patch-ad) = 5a343e721ae183facc58195026c7e5c49536632a
 SHA1 (patch-ae) = c2744f10d80a478ad571fcce82bf301d6c50cb59
 SHA1 (patch-af) = fb0c8c9c78b4726d86281edcc57718952107a7a7
diff -r 83a8883dbaf7 -r 9814e897fae8 audio/portaudio/patches/patch-ac
--- a/audio/portaudio/patches/patch-ac  Wed Feb 28 21:03:06 2018 +0000
+++ b/audio/portaudio/patches/patch-ac  Wed Feb 28 21:46:51 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.8 2010/10/12 21:50:49 joerg Exp $
+$NetBSD: patch-ac,v 1.9 2018/02/28 21:46:52 wiz Exp $
 
 --- Makefile.in.orig   2003-02-11 14:24:56.000000000 +0000
 +++ Makefile.in
@@ -26,14 +26,14 @@
  lib/$(PALIB): lib/ $(OBJS) Makefile $(PAINC)
 -      $(AR) ruv lib/$(PALIB) $(OBJS)
 -      $(RANLIB) lib/$(PALIB)
-+      ${LIBTOOL} --mode=link @CC@ -o lib/${PALIB:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 0:18:0 $(DLL_LIBS)
++      ${LIBTOOL} --mode=link @CC@ -o lib/${PALIB:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 0:18:0 $(LDFLAGS) $(DLL_LIBS)
  
  lib/$(PADLLV): lib/ $(OBJS) Makefile $(PAINC)
 -      $(CC) $(SHARED_FLAGS) -o lib/$(PADLLV) $(OBJS) $(DLL_LIBS)
  
  $(TESTS): bin/%: lib/$(PALIB) Makefile $(PAINC) pa_tests/%.c
 -      $(CC) -o $@ $(CFLAGS) pa_tests/$*.c lib/$(PALIB) $(LIBS)
-+      ${LIBTOOL} --mode=link @CC@ -o $@ $(CFLAGS) pa_tests/$*.c lib/${PALIB:.a=.la} $(LIBS)
++      ${LIBTOOL} --mode=link @CC@ -o $@ $(LDFLAGS) $(CFLAGS) pa_tests/$*.c lib/${PALIB:.a=.la} $(LIBS)
  
  install: lib/$(PALIB) lib/$(PADLLV)
 -      $(INSTALL) -m 644 lib/$(PADLLV) $(PREFIX)/lib/$(PADLLV)



Home | Main Index | Thread Index | Old Index