1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Allow ogle and ogle-gui to find the libxml2 header files.

According to www.libxml.org, libxml and libxml2 header files should be
#include'd as <libxml/header.h> and not just <header.h>.

Reported by:	many
Submitted by:	lioux
Reviewed by:	sobomax
Approved by:	lioux
This commit is contained in:
Joe Marcus Clarke 2002-04-13 16:51:14 +00:00
parent 23fe8b5980
commit 1bbd6ef5f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57662
4 changed files with 8 additions and 2 deletions

View File

@ -53,7 +53,8 @@ post-patch:
s!(CONFIG_FILE(\s|=)\")[^/]+?/!\1${LOCALBASE}/!; \
s|(CONFIG_FILE_DTD=\")[^/]+?/|\1${LOCALBASE}/|g; \
s|(PACKAGE_PIXMAPS_DIR=\").+\"|\1${PREFIX}/${SHARE_DATADIR}/ogle_gui/\"|; \
s|%%LOCALBASE%%|${LOCALBASE}|" \
s|%%LOCALBASE%%|${LOCALBASE}|; \
s|(xmlversion.h>)|libxml/\1|" \
${CONFIGURE_WRKSRC}/configure
post-configure:

View File

@ -48,6 +48,8 @@ post-patch:
${WRKSRC}/configure.in
.endif
@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|" ${WRKSRC}/scripts/ogle.in
@${PERL} -pi -e 's|(xmlversion.h>)|libxml/\1|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${TOUCH} `find -E ${WRKSRC} -regex ".*Makefile\.(am|in)"`

View File

@ -53,7 +53,8 @@ post-patch:
s!(CONFIG_FILE(\s|=)\")[^/]+?/!\1${LOCALBASE}/!; \
s|(CONFIG_FILE_DTD=\")[^/]+?/|\1${LOCALBASE}/|g; \
s|(PACKAGE_PIXMAPS_DIR=\").+\"|\1${PREFIX}/${SHARE_DATADIR}/ogle_gui/\"|; \
s|%%LOCALBASE%%|${LOCALBASE}|" \
s|%%LOCALBASE%%|${LOCALBASE}|; \
s|(xmlversion.h>)|libxml/\1|" \
${CONFIGURE_WRKSRC}/configure
post-configure:

View File

@ -48,6 +48,8 @@ post-patch:
${WRKSRC}/configure.in
.endif
@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|" ${WRKSRC}/scripts/ogle.in
@${PERL} -pi -e 's|(xmlversion.h>)|libxml/\1|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${TOUCH} `find -E ${WRKSRC} -regex ".*Makefile\.(am|in)"`