diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-04-13 16:51:14 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-04-13 16:51:14 +0000 |
commit | 1bbd6ef5f2134206af9c1058e83afbe4f782fc09 (patch) | |
tree | 8800fd5541f606b4ed6a23b9424af2eee811da7d /multimedia | |
parent | 23fe8b5980191ca78f61dcf012bee718f6f33553 (diff) | |
download | ports-1bbd6ef5f2134206af9c1058e83afbe4f782fc09.tar.gz ports-1bbd6ef5f2134206af9c1058e83afbe4f782fc09.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
Notes
Notes:
svn path=/head/; revision=57662
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ogle-gui/Makefile | 3 | ||||
-rw-r--r-- | multimedia/ogle/Makefile | 2 |
2 files changed, 4 insertions, 1 deletions
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)"` |