pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/hercules4sdl emulators/hercules4sdl: unbreak...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb06d55abec2
branches: trunk
changeset: 769358:cb06d55abec2
user: rhialto <rhialto%pkgsrc.org@localhost>
date: Sat Nov 13 12:44:39 2021 +0000
description:
emulators/hercules4sdl: unbreak the build on Darwin.
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).
diffstat:
emulators/hercules4sdl/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r bf068bdcb197 -r cb06d55abec2 emulators/hercules4sdl/Makefile
--- a/emulators/hercules4sdl/Makefile Sat Nov 13 11:27:47 2021 +0000
+++ b/emulators/hercules4sdl/Makefile Sat Nov 13 12:44:39 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/11/06 16:43:23 rhialto Exp $
+# $NetBSD: Makefile,v 1.2 2021/11/13 12:44:39 rhialto Exp $
PKGNAME= hercules4sdl-4.3
DISTNAME= Release_${PKGVERSION_NOREV}
@@ -33,11 +33,17 @@
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
INSTALLATION_DIRS+= share/examples/hercules
pre-configure:
- ${RM} ${WRKSRC}/ltdl.h ${WRKSRC}/ltdl.c
+ ${RM} -f ${WRKSRC}/ltdl.h ${WRKSRC}/ltdl.c
cd ${WRKSRC} && ./autogen.sh
post-install:
Home |
Main Index |
Thread Index |
Old Index