ports/168273: [PATCH] emulators/zsnes Remove obsolete OSVERSION conditional
Chris Rees
crees at FreeBSD.org
Wed May 23 20:00:16 UTC 2012
>Number: 168273
>Category: ports
>Synopsis: [PATCH] emulators/zsnes Remove obsolete OSVERSION conditional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 23 20:00:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Chris Rees
>Release: FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
FreeBSD ports tree doesn't support <7.x, so this check is unnecessary. Also use bsd.port.options.mk.
>Description:
>How-To-Repeat:
>Fix:
--- emulators-zsnes.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/zsnes/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- Makefile 18 Feb 2012 10:17:35 -0000 1.44
+++ Makefile 23 May 2012 19:54:30 -0000
@@ -44,11 +44,7 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 602000
-IGNORE= needs zlib >= 1.2.3, it is available on FreeBSD >= 6.2
-.endif
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUGGER)
CONFIGURE_ARGS+= --enable-debugger
@@ -95,4 +91,4 @@
${INSTALL_PROGRAM} ${WRKSRC}/zsnes ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/linux/zsnes.1 ${MANPREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- emulators-zsnes.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list