summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-06-02 21:50:31 +0000
committerrecht <recht@pkgsrc.org>2004-06-02 21:50:31 +0000
commit98aa94cb7d6ee9b40d35f6004972f8aad1722d0c (patch)
tree1dc7b63ce3b0d3d80820dfcbfe201a0113d7c334 /www
parent78f1dc8bf99ff7faeaa71e6cad20fad4026d47c8 (diff)
downloadpkgsrc-98aa94cb7d6ee9b40d35f6004972f8aad1722d0c.tar.gz
Work around the missing rpath flag in libxml2's xml2-config and make
the pkg build. Addresses PR 25775 by Cesar Catrian C.
Diffstat (limited to 'www')
-rw-r--r--www/bkedit/Makefile5
-rw-r--r--www/bkedit/distinfo3
-rw-r--r--www/bkedit/patches/patch-aa15
3 files changed, 21 insertions, 2 deletions
diff --git a/www/bkedit/Makefile b/www/bkedit/Makefile
index e8ef65a6ca1..7dd211a0f17 100644
--- a/www/bkedit/Makefile
+++ b/www/bkedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/04/18 19:46:55 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2004/06/02 21:50:31 recht Exp $
#
DISTNAME= bk_edit-0.6.23
@@ -16,6 +16,9 @@ USE_BUILDLINK3= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
+MAKE_ENV+= PKG_CFLAGS=${CFLAGS:Q}
+MAKE_ENV+= PKG_LDFLAGS=${LDFLAGS:Q}
+
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/bkedit/distinfo b/www/bkedit/distinfo
index 73866bed276..3663f6d3497 100644
--- a/www/bkedit/distinfo
+++ b/www/bkedit/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/04/18 19:46:55 wiz Exp $
+$NetBSD: distinfo,v 1.4 2004/06/02 21:50:31 recht Exp $
SHA1 (bk_edit-0.6.23.tar.gz) = fe37a0e213e54d8a60f70b6e03818e26f3690bf2
Size (bk_edit-0.6.23.tar.gz) = 113434 bytes
+SHA1 (patch-aa) = 84d7f99a8de035df2fd92586ded632aaf6edfc1e
diff --git a/www/bkedit/patches/patch-aa b/www/bkedit/patches/patch-aa
new file mode 100644
index 00000000000..96bc03d5290
--- /dev/null
+++ b/www/bkedit/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2004/06/02 21:50:31 recht Exp $
+
+--- src/Makefile.in.orig 2004-06-02 23:33:55.000000000 +0200
++++ src/Makefile.in 2004-06-02 23:34:13.000000000 +0200
+@@ -3,8 +3,8 @@
+ CC = gcc
+ LD = gcc
+
+-CFLAGS = -Wall `@GTK_CONFIG@ --cflags` `@XML2_CONFIG@ --cflags`#-ggdb -pg -a
+-LDFLAGS = @LIB@ `@GTK_CONFIG@ --libs` `@XML2_CONFIG@ --libs` -Wl,-export-dynamic# -rdynamic 'reverse dependencies' # -pg
++CFLAGS = $(PKG_CFLAGS) -Wall `@GTK_CONFIG@ --cflags` `@XML2_CONFIG@ --cflags`#-ggdb -pg -a
++LDFLAGS = $(PKG_LDFLAGS) @LIB@ `@GTK_CONFIG@ --libs` `@XML2_CONFIG@ --libs` -Wl,-export-dynamic# -rdynamic 'reverse dependencies' # -pg
+
+ OBJS = bk_edit.o bk_edit_menu.o bk_edit_tree.o bk_edit_edit.o bk_edit_file.o \
+ bk_edit_ccp.o bk_edit_data.o bk_edit_undo.o bk_edit_dnd.o bk_edit_misc.o \