diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-09 14:13:09 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-09 14:13:09 +0000 |
| commit | fb493ea54a4fea32972deef71f7b79eab781c13d (patch) | |
| tree | 72ad1277351e2e91e5601cb32a27b8c7c8688e55 | |
| parent | f27c92b53f599c151626ae67e4a744c5e446baa7 (diff) | |
Update to work with newest libxml2.
| -rw-r--r-- | net-p2p/fidelio/Makefile | 8 | ||||
| -rw-r--r-- | net/fidelio/Makefile | 8 |
2 files changed, 8 insertions, 8 deletions
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 <bsd.port.mk> 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> |
