summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2015-08-25 22:52:25 +0000
committerkhorben <khorben@pkgsrc.org>2015-08-25 22:52:25 +0000
commit6409a1be49b68979e57279cdbaf89540558d78a2 (patch)
treef29f2f65fac05ef711eab11e7fe52f3955be2b01 /sysutils
parent80d606fa2e450a5e8ab0fcb6c68dca33a504d241 (diff)
downloadpkgsrc-6409a1be49b68979e57279cdbaf89540558d78a2.tar.gz
Fix build when setting CFLAGS
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/deforaos-browser/Makefile3
-rw-r--r--sysutils/deforaos-browser/distinfo3
-rw-r--r--sysutils/deforaos-browser/patches/patch-src_plugins_Makefile17
3 files changed, 21 insertions, 2 deletions
diff --git a/sysutils/deforaos-browser/Makefile b/sysutils/deforaos-browser/Makefile
index 32a1c559721..72f6f2dee52 100644
--- a/sysutils/deforaos-browser/Makefile
+++ b/sysutils/deforaos-browser/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2015/08/16 17:34:45 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2015/08/25 22:52:25 khorben Exp $
#
DISTNAME= Browser-0.4.13
@@ -21,6 +21,7 @@ BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
MAKE_FLAGS+= DESTDIR=${DESTDIR}
MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
AUTO_MKDIRS= yes
.include "../../mk/bsd.prefs.mk"
diff --git a/sysutils/deforaos-browser/distinfo b/sysutils/deforaos-browser/distinfo
index 6c65eb28d3e..2f6c110d810 100644
--- a/sysutils/deforaos-browser/distinfo
+++ b/sysutils/deforaos-browser/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.6 2014/03/21 14:19:31 jperkin Exp $
+$NetBSD: distinfo,v 1.7 2015/08/25 22:52:25 khorben Exp $
SHA1 (Browser-0.4.13.tar.gz) = 2a7eec2032bc224864000a149ba0afc2b8562cbd
RMD160 (Browser-0.4.13.tar.gz) = 0cee3c24a8bc40a513aab6bd794bbd9865ac73f7
Size (Browser-0.4.13.tar.gz) = 129587 bytes
SHA1 (patch-data_pkgconfig.sh) = 4d331028b647bcd671fadeda613ecc29d56d3017
SHA1 (patch-src_callbacks.c) = 81cc77f99c58a1c0de61f4096808d77d99cce4fd
+SHA1 (patch-src_plugins_Makefile) = 3a275dfcda3a8acc0e87daa8953ffd3ad3fb5181
SHA1 (patch-src_plugins_dirtree.c) = 9abeac0ad6947d19435276708aefe0c9235e9b92
SHA1 (patch-src_vfs.c) = e604b316be270e210c95b889d2c853aefd8bbc46
SHA1 (patch-tools_dirtree.c) = 1c404e749464d30773360a43485117010d1cbd15
diff --git a/sysutils/deforaos-browser/patches/patch-src_plugins_Makefile b/sysutils/deforaos-browser/patches/patch-src_plugins_Makefile
new file mode 100644
index 00000000000..57bb213b996
--- /dev/null
+++ b/sysutils/deforaos-browser/patches/patch-src_plugins_Makefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_plugins_Makefile,v 1.1 2015/08/25 22:52:26 khorben Exp $
+
+Fix build when setting CFLAGS
+
+--- src/plugins/Makefile.orig 2013-10-06 13:34:26.000000000 +0000
++++ src/plugins/Makefile
+@@ -5,8 +5,8 @@ LIBDIR = $(PREFIX)/lib
+ CC = cc
+ CPPFLAGSF= -I ../../include
+ CPPFLAGS=
+-CFLAGSF = -W `pkg-config --cflags libDesktop`
+-CFLAGS = -Wall -g -O2 -pedantic -fPIC
++CFLAGSF = `pkg-config --cflags libDesktop` -fPIC
++CFLAGS = -W -Wall -g -O2 -pedantic
+ LDFLAGSF= `pkg-config --libs libDesktop`
+ AR = ar
+ RANLIB = ranlib