summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/hercules/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
index 36422f80e34..75566f19a59 100644
--- a/emulators/hercules/Makefile
+++ b/emulators/hercules/Makefile
@@ -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}