git: a434b47730cb - main - emulators/zsnes: Add missing bsd.port.options.mk include

From: Torsten Zuehlsdorff <tz_at_FreeBSD.org>
Date: Tue, 30 Jul 2024 23:05:34 UTC
The branch main has been updated by tz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a434b47730cb5d116b2c197402228a1e2ab62306

commit a434b47730cb5d116b2c197402228a1e2ab62306
Author:     Torsten Zuehlsdorff <tz@FreeBSD.org>
AuthorDate: 2024-07-30 23:04:51 +0000
Commit:     Torsten Zuehlsdorff <tz@FreeBSD.org>
CommitDate: 2024-07-30 23:04:51 +0000

    emulators/zsnes: Add missing bsd.port.options.mk include
    
      We need to .include <bsd.port.options.mk> before using a conditional IGNORE
---
 emulators/zsnes/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
index 2ddf7b91cc57..868b1d43e296 100644
--- a/emulators/zsnes/Makefile
+++ b/emulators/zsnes/Makefile
@@ -42,8 +42,10 @@ JMA_CONFIGURE_ENABLE=		jma
 OPENGL_CONFIGURE_ENABLE=	opengl
 X11_CONFIGURE_WITH=		x
 
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400000 &&  ${OSVERSION} < 1401000 )
-IGNORE= Does not build on FreeBSD 14.0 - zlib is too old
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1401000
+IGNORE=		does not build on FreeBSD 14.0 - zlib is too old
 .endif
 
 post-patch: