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)"`
-0/+1 * - Update to 1.2.7pgollucci2010-02-103-9/+8 * - update to jpeg-8dinoex2010-02-051-0/+1 * - Update to 1.2.6miwi2009-09-194-8/+17 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-3/+1 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1 * - Update to 1.2.5amdmi32009-01-203-7/+7 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove USE_GETOPT_LONG which is a no-op since March 2007pav2008-03-201-1/+0 * Reflect lynx-ssl -> lynx collapse.delphij2007-07-101-4/+0 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * - Update to 1.2.4miwi2006-11-053-8/+7 * - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-151-1/+1 * Update to 1.2.0, I have tested it with a dozen of Microsoft Word files inmezz2006-03-165-550/+464 * Conversion to a single libtool environment.ade2006-02-232-4/+4 * - Add SHA256pav2005-11-261-0/+1 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1 * Use glib20 port instead included to solve the AbiWord crash when you click formezz2005-05-171-10/+5 * - Use MAKE_ARGS instead of patchvs2005-04-263-21/+1 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-11