From 49da960402dc1adc0767ce2fd26b585a2e2cc3bc Mon Sep 17 00:00:00 2001 From: recht Date: Wed, 2 Jun 2004 21:50:31 +0000 Subject: Work around the missing rpath flag in libxml2's xml2-config and make the pkg build. Addresses PR 25775 by Cesar Catrian C. --- www/bkedit/Makefile | 5 ++++- www/bkedit/distinfo | 3 ++- www/bkedit/patches/patch-aa | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 www/bkedit/patches/patch-aa (limited to 'www') 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 \ -- cgit v1.2.3