Date: Thu, 16 Mar 2006 14:39:35 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/94567: [patch] x11-wm/vtwm Add sound option Message-ID: <200603161439.k2GEdZIx009144@www.freebsd.org> Resent-Message-ID: <200603161510.k2GFA8WN082553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94567 >Category: ports >Synopsis: [patch] x11-wm/vtwm Add sound option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 16 15:10:08 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: FreeBSD 5.4 >Organization: private >Environment: FreeBSD localhost 5.4-RELEASE-p8 i386 >Description: Add SOUND option to x11-wm/vtwm >How-To-Repeat: Apply the patch. >Fix: --- Makefile.orig Sat Nov 26 00:29:24 2005 +++ Makefile Wed Mar 15 19:30:09 2006 @@ -7,17 +7,31 @@ PORTNAME= vtwm PORTVERSION= 5.4.7 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://www.vtwm.org/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Twm with a virtual desktop and optional Motif-like features -LIB_DEPENDS= rplay.1:${PORTSDIR}/audio/rplay +OPTIONS= SOUND "Sound support" on +USE_REINPLACE= yes USE_IMAKE= yes USE_XPM= yes MAN1= vtwm.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: +.if defined(WITHOUT_SOUND) + @${REINPLACE_CMD} -i "" -e \ + 's:^XCOMM NO_SOUND_SUPPORT: NO_SOUND_SUPPORT:; \ + s:^SOUNDLIB:XCOMM SOUNDLIB:; \ + s:^SOUNDINC:XCOMM SOUNDINC: ' ${WRKSRC}/Imakefile +.else +LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay +.endif + +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603161439.k2GEdZIx009144>