aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-24 03:17:44 +0800
committerkrion <krion@FreeBSD.org>2004-08-24 03:17:44 +0800
commit7844b752a38dc6d72bc9bda415ec5738d9a33f7a (patch)
treede5c5141aeceef35081e430b4654389d1ca34055 /x11-wm
parent283852c6eac79d42e4422c2fd9e8b93029f3e3b0 (diff)
downloadfreebsd-ports-gnome-7844b752a38dc6d72bc9bda415ec5738d9a33f7a.tar.gz
freebsd-ports-gnome-7844b752a38dc6d72bc9bda415ec5738d9a33f7a.tar.zst
freebsd-ports-gnome-7844b752a38dc6d72bc9bda415ec5738d9a33f7a.zip
Fix build with gcc-3.4
PR: ports/70873 Submitted by: Ports Fury
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmDeskGuide/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-wm/wmDeskGuide/Makefile b/x11-wm/wmDeskGuide/Makefile
index 157981beb9f0..b4e51aae4486 100644
--- a/x11-wm/wmDeskGuide/Makefile
+++ b/x11-wm/wmDeskGuide/Makefile
@@ -17,11 +17,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomelibs gdkpixbuf
+USE_REINPLACE= yes
USE_GMAKE= yes
PORTDOCS= README
PLIST_FILES= bin/wmDeskGuide
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|G_GNUC_PRETTY_FUNCTION |G_GNUC_PRETTY_FUNCTION, |g'
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmDeskGuide ${PREFIX}/bin
.if !defined(NOPORTDOCS)