summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-menus/Makefile4
-rw-r--r--x11/gnome-menus/files/patch-util_Makefile.in10
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile
index 61695212f..e75cd0569 100644
--- a/x11/gnome-menus/Makefile
+++ b/x11/gnome-menus/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gnome-menus/Makefile,v 1.98 2009/09/22 09:08:43 kwm Exp $
+# $MCom: ports/x11/gnome-menus/Makefile,v 1.99 2009/10/01 17:11:10 kwm Exp $
#
PORTNAME= gnome-menus
@@ -37,6 +37,8 @@ post-patch:
< ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py
+ @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
+ ${WRKSRC}/util/Makefile.in
post-install:
@${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \
diff --git a/x11/gnome-menus/files/patch-util_Makefile.in b/x11/gnome-menus/files/patch-util_Makefile.in
new file mode 100644
index 000000000..fd9b0fcf0
--- /dev/null
+++ b/x11/gnome-menus/files/patch-util_Makefile.in
@@ -0,0 +1,10 @@
+--- util/Makefile.in.orig 2009-10-18 19:06:36.000000000 -0400
++++ util/Makefile.in 2009-10-18 19:10:40.000000000 -0400
+@@ -313,6 +313,7 @@ gnome_menu_spec_test_SOURCES = \
+
+ gnome_menu_spec_test_LDADD = \
+ ../libmenu/libgnome-menu.la \
++ %%PTHREAD_LIBS%% \
+ $(GLIB_LIBS) \
+ $(NULL)
+