diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/fidelio/Makefile | 8 |
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> |