pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/hercules4sdl hercules4sdl: Fix syntax error.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ad3d1d48d1e
branches:  trunk
changeset: 769382:5ad3d1d48d1e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sun Nov 14 08:50:03 2021 +0000

description:
hercules4sdl: Fix syntax error.

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

diffstat:

 emulators/hercules4sdl/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 31d0d80c574c -r 5ad3d1d48d1e emulators/hercules4sdl/Makefile
--- a/emulators/hercules4sdl/Makefile   Sun Nov 14 08:48:40 2021 +0000
+++ b/emulators/hercules4sdl/Makefile   Sun Nov 14 08:50:03 2021 +0000
@@ -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_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