Date: Fri, 20 Aug 2004 23:13:31 +0800 (CST) From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70721: [UPDATE] Enable OPTIONS feature of ports/games/duke3d Message-ID: <200408201513.i7KFDVbA053846@alumni.csie.nctu.edu.tw> Resent-Message-ID: <200408201520.i7KFKLYX024678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70721 >Category: ports >Synopsis: [UPDATE] Enable OPTIONS feature of ports/games/duke3d >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 20 15:20:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Chen >Release: FreeBSD 4.10-STABLE i386 >Organization: NCTU CSIE >Environment: System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386 >Description: Enable OPTIONS feature of ports/games/duke3d >How-To-Repeat: Apply the patch. >Fix: --- duke3d.patch begins here --- diff -ruN /usr/ports/games/duke3d/Makefile duke3d/Makefile --- /usr/ports/games/duke3d/Makefile Mon Aug 16 09:13:13 2004 +++ duke3d/Makefile Fri Aug 20 21:25:46 2004 @@ -28,13 +28,11 @@ PROG_FILES= ${WRKSRC}/source/${PORTNAME} ${WRKSRC}/source/buildengine/build DOC_FILES= README BUILDLIC.TXT CONTRIB TODO CHANGELOG ../../readme.txt ../../gnu.txt -pre-everything:: -.ifndef(WITHOUT_DOSBOX) - @${ECHO_MSG} "" - @${ECHO_MSG} "Define WITHOUT_DOSBOX to disable the dependency on dosbox." - @${ECHO_MSG} "Then however you will not be able to change the Duke3D config." - @${ECHO_MSG} "" +OPTIONS= DOSBOX "dependency on dosbox" on + +.include <bsd.port.pre.mk> +.ifndef(WITHOUT_DOSBOX) RUN_DEPENDS= ${LOCALBASE}/bin/dosbox:${PORTSDIR}/emulators/dosbox .endif @@ -78,4 +76,4 @@ .endif @${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|' ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- duke3d.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?200408201513.i7KFDVbA053846>