Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 08:05:36 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/172739: OptionsNG-fy games/xgalaga
Message-ID:  <201210152305.q9FN5aO9010122@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <201210152340.q9FNe1fi068922@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172739
>Category:       ports
>Synopsis:       OptionsNG-fy games/xgalaga
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 15 23:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #25: Mon Jan 24 10:37:18 JST 2011 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	OptionsNG-fy games/xgalaga.
	
>How-To-Repeat:
	
>Fix:
	here is a patch to Makefile:

--- Makefile.orig	2012-05-18 06:22:09.000000000 +0900
+++ Makefile	2012-10-16 07:56:10.000000000 +0900
@@ -1,7 +1,3 @@
-# New ports collection makefile for:	xgalaga
-# Date created:		27 August 1995
-# Whom:			asami
-#
 # $FreeBSD: ports/games/xgalaga/Makefile,v 1.31 2012/05/13 15:41:22 madpilot Exp $
 #
 
@@ -23,11 +19,12 @@
 		--mandir=${LOCALBASE}/man \
 		--exec_prefix=${LOCALBASE}/bin
 
-OPTIONS=	SOUND	"Sound support"	on
+OPTIONS_DEFINE=SOUND
+OPTIONS_DEFAULT=SOUND
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITHOUT_SOUND) || defined(NOSOUND)
+.if empty(PORT_OPTIONS:MSOUND)
 CONFIGURE_ARGS+=	--without-sound
 PLIST_SUB=	SOUND="@comment "
 .else
@@ -37,4 +34,4 @@
 post-install:
 	@${STRIP_CMD} ${PREFIX}/bin/xgalaga
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
	


>Release-Note:
>Audit-Trail:
>Unformatted:



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