summaryrefslogtreecommitdiffstats
path: root/graphics/ogle
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-04-13 16:51:14 +0000
committermarcus <marcus@FreeBSD.org>2002-04-13 16:51:14 +0000
commit51f19cd19f8734caa6d726efd82cc0f70ffdad01 (patch)
tree22d977f9d53187fff9cdc8746604571f273b77d8 /graphics/ogle
parent391eee5e8d4fab1a5432a3bb3c54390cc898306f (diff)
downloadFreeBSD-ports-51f19cd19f8734caa6d726efd82cc0f70ffdad01.zip
FreeBSD-ports-51f19cd19f8734caa6d726efd82cc0f70ffdad01.tar.gz
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/ogle')
-rw-r--r--graphics/ogle/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/ogle/Makefile b/graphics/ogle/Makefile
index 79850f1..964d93c 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)"`
OpenPOWER on IntegriCloud