aboutsummaryrefslogtreecommitdiffstats
path: root/net/fidelio
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-02-09 22:13:09 +0800
committersobomax <sobomax@FreeBSD.org>2001-02-09 22:13:09 +0800
commit5aca546dd84284dfe38d1f09549872e40f8094c1 (patch)
treef579ef23991b8aea796c965c498971c0a9bd82f2 /net/fidelio
parentfad5934d1079bd7a7137c7ea2fc46d80925ccd75 (diff)
downloadfreebsd-ports-gnome-5aca546dd84284dfe38d1f09549872e40f8094c1.tar.gz
freebsd-ports-gnome-5aca546dd84284dfe38d1f09549872e40f8094c1.tar.zst
freebsd-ports-gnome-5aca546dd84284dfe38d1f09549872e40f8094c1.zip
Update to work with newest libxml2.
Diffstat (limited to 'net/fidelio')
-rw-r--r--net/fidelio/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/fidelio/Makefile b/net/fidelio/Makefile
index 61b480453ec0..7576270d914c 100644
--- a/net/fidelio/Makefile
+++ b/net/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 <bsd.port.mk>