patch for ports/x11-wm/aewm
Trevor Johnson
trevor at jpj.net
Wed Dec 3 23:33:20 UTC 2003
Get this to compile when GTK+ is not present. Fix whitespace too.
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-wm/aewm/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 3 Nov 2003 03:56:42 -0000 1.15
+++ Makefile 3 Dec 2003 23:21:51 -0000
@@ -13,8 +13,6 @@
MAINTAINER= trevor at FreeBSD.org
COMMENT= ICCCM-compliant window manager based on 9wm
-BROKEN= "Does not compile, will be removed after Feb 2"
-
GTKCLIENTS= aemenu-gtk aepanel-gtk
XAWCLIENTS= set-gnome-pda \
aesession \
@@ -29,18 +27,19 @@
USE_X_PREFIX= yes
WANT_GNOME= yes
USE_REINPLACE= yes
-REINPLACE_ARGS= -i'' -E
+REINPLACE_ARGS= -i '' -E
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgtk20}!=""
-USE_GNOME+= gtk20
-PKGNAMESUFFIX= -gtk
+USE_GNOME+= gtk20
+PKGNAMESUFFIX= -gtk
.endif
do-patch:
${REINPLACE_CMD} 's:/etc/X11/aewm/aewmrc:${PREFIX}/etc/aewmrc:g' \
${WRKSRC}/src/aewm.h
${REINPLACE_CMD} 's:\+make:\+gmake:g' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} 's:clients::g' ${WRKSRC}/Makefile
.if ${HAVE_GNOME:Mgtk20}!=""
${REINPLACE_CMD} 's:gtk-config:${GTK_CONFIG}:g' \
${WRKSRC}/clients/Makefile
--
Trevor Johnson
More information about the freebsd-ports-bugs
mailing list