Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 18:17:21 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/170748: [MAINTAINER] games/twind: Makefile changed, Port require always DATA
Message-ID:  <20120818161724.7CB1B1065670@hub.freebsd.org>
Resent-Message-ID: <201208181620.q7IGK9ri068465@freefall.freebsd.org>

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

>Number:         170748
>Category:       ports
>Synopsis:       [MAINTAINER] games/twind: Makefile changed, Port require always DATA
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 16:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:

Makefile changed:

Deleted why Port require always DATA

-OPTIONS_DEFINE= DATA
-OPTIONS_DEFAULT= DATA

Here works better NOPORTDATA

-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- twind-1.1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/twind/Makefile ./Makefile
--- /usr/ports/games/twind/Makefile	2012-08-17 19:46:32.000000000 +0200
+++ ./Makefile	2012-08-18 18:13:07.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	twind
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
@@ -15,9 +16,6 @@
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	DATA
-OPTIONS_DEFAULT=	DATA
-
 USE_SDL=	sdl image mixer
 MAKE_JOBS_SAFE=	yes
 
@@ -38,7 +36,7 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
 # Data
-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)
 	${MKDIR} ${DATADIR}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${DATADIR})
 .endif
--- twind-1.1.0_1.patch ends here ---

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



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