pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/hercules4sdl



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Sun Nov 14 08:50:03 UTC 2021

Modified Files:
        pkgsrc/emulators/hercules4sdl: Makefile

Log Message:
hercules4sdl: Fix syntax error.

OPSYS can't be tested against until after bsd.prefs.mk has been
included, but using OPSYSVARS is better anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/hercules4sdl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/hercules4sdl/Makefile
diff -u pkgsrc/emulators/hercules4sdl/Makefile:1.2 pkgsrc/emulators/hercules4sdl/Makefile:1.3
--- pkgsrc/emulators/hercules4sdl/Makefile:1.2  Sat Nov 13 12:44:39 2021
+++ pkgsrc/emulators/hercules4sdl/Makefile      Sun Nov 14 08:50:03 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2021/11/13 12:44:39 rhialto Exp $
+# $NetBSD: Makefile,v 1.3 2021/11/14 08:50:03 jperkin Exp $
 
 PKGNAME=       hercules4sdl-4.3
 DISTNAME=      Release_${PKGVERSION_NOREV}
@@ -33,12 +33,10 @@ SUBST_FILES.prefix= hercules.cnf
 SUBST_SED.prefix=      -e 's,/usr/local,${PREFIX},g'
 
 CONFIGURE_ARGS+=       --enable-extpkgs=${PREFIX}/lib/hercules4sdl
-.if ${OPSYS} == "Darwin"
 # There is a configure check that uses C++ to check if the compiler is
 # GNU, and on Darwin it thinks GNU C++ is needed to create shared
 # libraries, even though no actual C++ is used. Or something.
-CONFIGURE_ENV+=                ac_cv_cxx_compiler_gnu=yes
-.endif
+CONFIGURE_ENV.Darwin+= ac_cv_cxx_compiler_gnu=yes
 
 INSTALLATION_DIRS+=    share/examples/hercules
 



Home | Main Index | Thread Index | Old Index