summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2018-04-22 17:57:47 +0000
committertron <tron@pkgsrc.org>2018-04-22 17:57:47 +0000
commitdce0dd6e906281abe63e614a3040f9dbd5444b9a (patch)
treedfb8ea3e015a912e286331691f3fe805e850189f
parent547093beb10e36a7fe1ee09ee5252fca3610408f (diff)
downloadpkgsrc-dce0dd6e906281abe63e614a3040f9dbd5444b9a.tar.gz
cdrtools: Fix build under macOS (High Sierra)
Create 64bit clang rules file by copying the 32bit file. The compiler defaults to 64bit binaries under modern version of macOS/Xcode anyway.
-rw-r--r--sysutils/cdrtools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 16444a6b2a6..3fbde56950e 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2018/01/31 10:20:26 jperkin Exp $
+# $NetBSD: Makefile,v 1.116 2018/04/22 17:57:47 tron Exp $
DISTNAME= cdrtools-3.01
PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/}
@@ -107,6 +107,7 @@ do-configure:
ln -sf i386-$$suffix ${MACHINE}-$$suffix; \
fi; \
done; \
+ $(CP) -fp i386-darwin-clang.rul x86_64-darwin-clang.rul
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} config
post-build: