summaryrefslogtreecommitdiff
path: root/graphics/mpgtx
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-11-26 13:52:23 +0000
committerwiz <wiz@pkgsrc.org>2019-11-26 13:52:23 +0000
commit2d6fe463098bdbf61cf3ef8d09243466b9732a57 (patch)
tree10153ec85729312f35ffab1ce88f0659ea6d7a8b /graphics/mpgtx
parentb5d231e35c1ac12322ec79148e53dc33a13c95d3 (diff)
downloadpkgsrc-2d6fe463098bdbf61cf3ef8d09243466b9732a57.tar.gz
mpgtx: update to 1.3.1nb1.
Honor CFLAGS/LDFLAGS from environment. Fixes RELRO build.
Diffstat (limited to 'graphics/mpgtx')
-rw-r--r--graphics/mpgtx/Makefile4
-rw-r--r--graphics/mpgtx/distinfo3
-rw-r--r--graphics/mpgtx/patches/patch-configure20
3 files changed, 24 insertions, 3 deletions
diff --git a/graphics/mpgtx/Makefile b/graphics/mpgtx/Makefile
index a2ee8291377..6d7fb53c343 100644
--- a/graphics/mpgtx/Makefile
+++ b/graphics/mpgtx/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2019/11/02 22:38:00 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.19 2019/11/26 13:52:23 wiz Exp $
DISTNAME= mpgtx-1.3.1
+PKGREVISION= 1
CATEGORIES= audio graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpgtx/}
diff --git a/graphics/mpgtx/distinfo b/graphics/mpgtx/distinfo
index c13aa0e1d44..9f06916fa5f 100644
--- a/graphics/mpgtx/distinfo
+++ b/graphics/mpgtx/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 21:34:10 agc Exp $
+$NetBSD: distinfo,v 1.6 2019/11/26 13:52:23 wiz Exp $
SHA1 (mpgtx-1.3.1.tar.gz) = 58b3d18b6dac968e8dd969a7b33c8a8fc31569cd
RMD160 (mpgtx-1.3.1.tar.gz) = f39704aef3e2b325d77f48817ecb883ea6a2a029
SHA512 (mpgtx-1.3.1.tar.gz) = 0f568673811f709383b3f262b19d3ec69de6807671c05a98266b21f2bfa6a8b85d2a8b95c3cec38bb012afb9d8add19a3f38b74b3e90f66cf233a1d26aaca805
Size (mpgtx-1.3.1.tar.gz) = 89170 bytes
+SHA1 (patch-configure) = 0594f3444ab67700065c706e8f72e43f76ec38c6
diff --git a/graphics/mpgtx/patches/patch-configure b/graphics/mpgtx/patches/patch-configure
new file mode 100644
index 00000000000..6a446c0fe30
--- /dev/null
+++ b/graphics/mpgtx/patches/patch-configure
@@ -0,0 +1,20 @@
+$NetBSD: patch-configure,v 1.1 2019/11/26 13:52:23 wiz Exp $
+
+Honor CFLAGS/LDFLAGS from environment.
+
+--- configure.orig 2005-01-02 21:19:23.000000000 +0000
++++ configure
+@@ -15,11 +15,11 @@ devel_cflags="-g -Werror -fno-builtin"
+ optimization_cflags="-O3"
+ release_cflags=$optimization_cflags
+ OFLAGS="-ansi"
+-cflags=$common_cflags
++cflags=$common_cflags ${CFLAGS}
+
+ #linker flags
+
+-lflags=""
++lflags=${LDFLAGS}
+
+ #state vars
+ debug="no"