summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 955e39d50..e8b385560 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -24,7 +24,7 @@ Gnome_Include_MAINTAINER= gnome@FreeBSD.org
# As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV
# and MAKE_ENV defined.
-_USE_GNOME_ALL= gnomehack gnomeprefix gnomehier gnomeaudio esound libghttp \
+_USE_GNOME_ALL= gnomehack lthack gnomeprefix gnomehier gnomeaudio esound libghttp \
glib12 gtk12 libxml gdkpixbuf imlib orbit gnomelibs \
gnomecanvas oaf gnomemimedata gconf gnomevfs libcapplet \
gnomeprint bonobo libgda gnomedb libglade gal glibwww gtkhtml \
@@ -53,6 +53,8 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLA
's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g'
+lthack_PRE_PATCH= ${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
+ '/^LIBTOOL_DEPS="$$ac_aux_dir\/ltmain.sh"$$/s|$$|; $$ac_aux_dir/ltconfig $$LIBTOOL_DEPS;|'
gnomehier_RUN_DEPENDS= ${X11BASE}/share/gnome/.keep_me:${PORTSDIR}/misc/gnomehier
gnomehier_DETECT= ${X11BASE}/share/gnome/.keep_me
@@ -537,7 +539,7 @@ CONFIGURE_TARGET= ${${component}_CONFIGURE_TARGET}
. endif
. if defined(${component}_PRE_PATCH)
-GNOME_PRE_PATCH+= ${${component}_PRE_PATCH}
+GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH}
. endif
. endif
@@ -548,7 +550,7 @@ GNOME_PRE_PATCH+= ${${component}_PRE_PATCH}
USE_REINPLACE= yes
pre-patch:
- @${GNOME_PRE_PATCH}
+ @${GNOME_PRE_PATCH:C/^;//1}
.endif
.if defined(WANT_GNOME)