summaryrefslogtreecommitdiff
path: root/graphics/mpgtx/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mpgtx/patches/patch-configure')
-rw-r--r--graphics/mpgtx/patches/patch-configure20
1 files changed, 20 insertions, 0 deletions
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"