summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-04-13 16:51:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-04-13 16:51:14 +0000
commit1bbd6ef5f2134206af9c1058e83afbe4f782fc09 (patch)
tree8800fd5541f606b4ed6a23b9424af2eee811da7d
parentNew MIT Kerberos V beta, V 1.2.5-beta1. (diff)
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
Notes
Notes: svn path=/head/; revision=57662
-rw-r--r--graphics/ogle-gui/Makefile3
-rw-r--r--graphics/ogle/Makefile2
-rw-r--r--multimedia/ogle-gui/Makefile3
-rw-r--r--multimedia/ogle/Makefile2
4 files changed, 8 insertions, 2 deletions
diff --git a/graphics/ogle-gui/Makefile b/graphics/ogle-gui/Makefile
index 095785ddbc54..a250e11edd5d 100644
--- a/graphics/ogle-gui/Makefile
+++ b/graphics/ogle-gui/Makefile
@@ -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:
diff --git a/graphics/ogle/Makefile b/graphics/ogle/Makefile
index 79850f166a41..964d93c4cb0c 100644
--- a/graphics/ogle/Makefile
+++ b/graphics/ogle/Makefile
@@ -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)"`
diff --git a/multimedia/ogle-gui/Makefile b/multimedia/ogle-gui/Makefile
index 095785ddbc54..a250e11edd5d 100644
--- a/multimedia/ogle-gui/Makefile
+++ b/multimedia/ogle-gui/Makefile
@@ -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:
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile
index 79850f166a41..964d93c4cb0c 100644
--- a/multimedia/ogle/Makefile
+++ b/multimedia/ogle/Makefile
@@ -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)"`