ports/170748: [MAINTAINER] games/twind: Makefile changed, Port require always DATA

nemysis nemysis at gmx.ch
Sat Aug 18 16:20:09 UTC 2012


>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:



More information about the freebsd-ports-bugs mailing list