aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/sawfish
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2007-01-15 03:50:26 +0800
committermarcus <marcus@FreeBSD.org>2007-01-15 03:50:26 +0800
commit7e9522d118c6128301c47102bc6c09326d4c62f6 (patch)
tree0186013357aa1c5be6504ad8c663715910d7a1b0 /x11-wm/sawfish
parent32054d4a347b336e83b2dc76001315cf51ba2a80 (diff)
downloadfreebsd-ports-gnome-7e9522d118c6128301c47102bc6c09326d4c62f6.tar.gz
freebsd-ports-gnome-7e9522d118c6128301c47102bc6c09326d4c62f6.tar.zst
freebsd-ports-gnome-7e9522d118c6128301c47102bc6c09326d4c62f6.zip
Fix the build with GCC 4.x.
Diffstat (limited to 'x11-wm/sawfish')
-rw-r--r--x11-wm/sawfish/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-wm/sawfish/Makefile b/x11-wm/sawfish/Makefile
index e75f354ccf80..5f82052270d5 100644
--- a/x11-wm/sawfish/Makefile
+++ b/x11-wm/sawfish/Makefile
@@ -45,5 +45,7 @@ INFO= sawfish
post-patch:
@${REINPLACE_CMD} -e 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|[$$][(]top_builddir[)]/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|prog_name|program_name|g' \
+ ${WRKSRC}/src/main.c
.include <bsd.port.mk>