From fb493ea54a4fea32972deef71f7b79eab781c13d Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Fri, 9 Feb 2001 14:13:09 +0000 Subject: Update to work with newest libxml2. --- net-p2p/fidelio/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net-p2p/fidelio') diff --git a/net-p2p/fidelio/Makefile b/net-p2p/fidelio/Makefile index 61b480453ec0..7576270d914c 100644 --- a/net-p2p/fidelio/Makefile +++ b/net-p2p/fidelio/Makefile @@ -21,7 +21,9 @@ USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${GLIB_CONFIG} --cflags gthread`" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libxml2 \ + -I${LOCALBASE}/include \ + `${GLIB_CONFIG} --cflags gthread`" \ LDFLAGS="-L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`" \ XML_CONFIG="${XML_CONFIG}" @@ -31,9 +33,7 @@ pre-patch: @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' - @find ${WRKSRC} -type f -name "*.[ch]" | \ - xargs ${PERL} -pi -e 's|libxml/|libxml2/|g' - @${PERL} -pi -e 's|libxml/|libxml2/|g ; s|-lxml|-lxml2|g' \ + @${PERL} -pi -e 's|-lxml|-lxml2|g' \ ${WRKSRC}/configure .include -- cgit v1.2.3