ports/172739: OptionsNG-fy games/xgalaga
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Mon Oct 15 23:40:01 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list