aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-04-14 00:51:14 +0800
committermarcus <marcus@FreeBSD.org>2002-04-14 00:51:14 +0800
commit51f19cd19f8734caa6d726efd82cc0f70ffdad01 (patch)
tree22d977f9d53187fff9cdc8746604571f273b77d8 /graphics
parent391eee5e8d4fab1a5432a3bb3c54390cc898306f (diff)
downloadfreebsd-ports-gnome-51f19cd19f8734caa6d726efd82cc0f70ffdad01.tar.gz
freebsd-ports-gnome-51f19cd19f8734caa6d726efd82cc0f70ffdad01.tar.zst
freebsd-ports-gnome-51f19cd19f8734caa6d726efd82cc0f70ffdad01.zip
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ogle-gui/Makefile3
-rw-r--r--graphics/ogle/Makefile2
2 files changed, 4 insertions, 1 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)"`