pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/hercules



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Tue Nov 16 17:18:05 UTC 2021

Modified Files:
        pkgsrc/emulators/hercules: Makefile

Log Message:
emulators/hercules: unbreak the build on Darwin.

Same fix as for hercules4sdl.
No revbump needed since the change is limited to Darwin, where no built
package previously existed (at least for Darwin 20.6.0 which I tested).


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/emulators/hercules/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/hercules/Makefile
diff -u pkgsrc/emulators/hercules/Makefile:1.44 pkgsrc/emulators/hercules/Makefile:1.45
--- pkgsrc/emulators/hercules/Makefile:1.44     Mon May 24 19:52:10 2021
+++ pkgsrc/emulators/hercules/Makefile  Tue Nov 16 17:18:05 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2021/05/24 19:52:10 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2021/11/16 17:18:05 rhialto Exp $
 
 DISTNAME=              hercules-3.13
 PKGREVISION=           2
@@ -23,6 +23,11 @@ PTHREAD_OPTS+=               require
 REPLACE_PERL+=         util/bldlvlck
 USE_TOOLS+=            perl:run
 
+# 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.Darwin+= ac_cv_cxx_compiler_gnu=yes
+
 INSTALLATION_DIRS+=    bin share/examples/hercules
 #CONFIGURE_ARGS+=      --enable-setuid-hercifc=hercules
 #SPECIAL_PERMS+=       ${PREFIX}/bin/hercifc ${SETUID_ROOT_PERMS}



Home | Main Index | Thread Index | Old Index