From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 2 21:22:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80F7816A4CF for ; Fri, 2 Jul 2004 21:22:23 +0000 (GMT) Received: from phoenix.smluc.org (phoenix.smluc.org [12.28.48.23]) by mx1.FreeBSD.org (Postfix) with SMTP id 2A70A43D68 for ; Fri, 2 Jul 2004 21:22:22 +0000 (GMT) (envelope-from erik@phoenix.smluc.org) Received: (qmail 18811 invoked by uid 1000); 2 Jul 2004 21:23:40 -0000 Date: Fri, 2 Jul 2004 16:23:40 -0500 From: Erik Greenwald To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Message-ID: <20040702212340.GA16318@phoenix.smluc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040523i cc: erik@math.smsu.edu Subject: Re: ports/68614: [Maintainer Update] devel/gauche-sdl unbreak (dep fix) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 21:22:23 -0000 woops, the description in the cvs log was misleading, I grok what was happening now... here's a hackish way to fix it (d'no if there's a better approach.... the stuff was being installed, but the variable was not catching the value due to how the bsd.sdl.mk file does it's thing) I first wanted to do SDL_CONFIG?= so it wouldn't over-ride it, but that didn't work well, I guess the variable was set to (lambda) unstead of unset... replacement patch... --- devel_gauche-sdl.patch begins here --- diff -Nurb devel/gauche-sdl.orig/Makefile devel/gauche-sdl/Makefile --- devel/gauche-sdl.orig/Makefile Fri Jul 2 15:48:12 2004 +++ devel/gauche-sdl/Makefile Fri Jul 2 17:02:47 2004 @@ -19,8 +19,6 @@ RUN_DEPENDS= gosh:${PORTSDIR}/lang/gauche \ ${X11BASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/XFree86-4-clients -BROKEN= "SDL is needed in patch phase but only added in build phase" - PLIST_SUB= GAUCHE_VERSION="`gauche-config -V`"\ TARGET="${CONFIGURE_TARGET}" WRKSRC= ${WRKDIR}/${PORTFAKENAME} @@ -29,16 +27,18 @@ GNU_CONFIGURE= yes USE_REINPLACE= yes -post-patch: +SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config + +pre-configure: .for DIR in . image mixer ttf ${REINPLACE_CMD} \ - -e "s|^CFLAGS .*|& `${SDL_CONFIG} --cflags`|"\ - -e "s|-lSDL|`${SDL_CONFIG} --libs`|"\ + -e 's|^CFLAGS .*|& `${SDL_CONFIG} --cflags`|'\ + -e 's|-lSDL|`${SDL_CONFIG} --libs`|'\ ${WRKSRC}/src/${DIR}/Makefile.in .endfor ${REINPLACE_CMD} \ - -e "s|SDL/SDL|SDL|g"\ - -e "s|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|"\ + -e 's|SDL/SDL|SDL|g'\ + -e 's|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|'\ ${WRKSRC}/configure .include --- devel_gauche-sdl.patch ends here --- sorry 'bout the bad patch before... (this time I actually waited for it to successfully finish, first...) -- -Erik [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated.