ports/170736: [MAINTAINER] games/moagg: Makefile changed, Port require always DATA
nemysis
nemysis at gmx.ch
Sat Aug 18 12:30:10 UTC 2012
>Number: 170736
>Category: ports
>Synopsis: [MAINTAINER] games/moagg: 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 12:30: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:
--- moagg-1.95b.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/moagg/Makefile ./Makefile
--- /usr/ports/games/moagg/Makefile 2012-08-08 22:09:40.000000000 +0200
+++ ./Makefile 2012-08-18 14:13:20.000000000 +0200
@@ -20,9 +20,6 @@
LICENSE= GPLv2
-OPTIONS_DEFINE= DATA
-OPTIONS_DEFAULT= DATA
-
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
@@ -47,7 +44,7 @@
${INSTALL_SCRIPT} ${WRKSRC}/run.sh.new ${PREFIX}/bin/${PORTNAME}
# Data
-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data ghosts jar" ${DATADIR})
. for d in hiscores.dat log4j.properties
--- moagg-1.95b.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list