aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-12-15 21:00:01 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-12-15 21:00:01 +0000
commit4059a7a800231231920e881d3c07b8e8583a11cf (patch)
treead3f5ca73584f19ccdaa40692f21240bcc68146f /x11-wm
parent043a907e62bc403c5ef62fb36a419e19f7912296 (diff)
downloadports-4059a7a800231231920e881d3c07b8e8583a11cf.tar.gz
ports-4059a7a800231231920e881d3c07b8e8583a11cf.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-wm/xfce/Makefile b/x11-wm/xfce/Makefile
index a014354a9952..a2030700238b 100644
--- a/x11-wm/xfce/Makefile
+++ b/x11-wm/xfce/Makefile
@@ -17,6 +17,7 @@ COMMENT= CDE like desktop with GTK
LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
+USE_GCC= 4.1
USE_XPM= yes
USE_GETTEXT= yes
USE_GNOME= gdkpixbuf
@@ -55,6 +56,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${LOCALBASE}|g' ${WRKSRC}/other/xinitrc.in
@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG:T}|g' ${WRKSRC}/xfce/setup.c
@${REINPLACE_CMD} -e 's|/opt/kde3|${LOCALBASE}|g ; \
- s|/opt/gnome|${LOCALBASE}|g' ${WRKSRC}/xfmenu/xfmenu.c
+ s|/opt/gnome|${LOCALBASE}|g' ${WRKSRC}/xfmenu/xfmenu.c
+ @${REINPLACE_CMD} -e 's|static \(Atom _XA_WIN_STATE;\)|\1|; \
+ s|static \(Atom _XA_WIN_WORKSPACE;\)|\1|; \
+ s|static \(Atom _XA_WIN_WORKSPACE_COUNT;\)|\1|' \
+ ${WRKSRC}/xfgnome/xfgnome.h
+ @${REINPLACE_CMD} -e 's|static \(nmb_history \*headH;\)|\1|' \
+ ${WRKSRC}/xfsamba/xfsamba_mem.c
.include <bsd.port.post.mk>