Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2003 18:33:13 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        portmgr@freebsd.org, freebsd-ports-bugs@freebsd.org
Subject:   patch for ports/x11-wm/aewm
Message-ID:  <20031203183250.O61614@blues.jpj.net>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031203183250.O61614>