pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/cdrtools
Module Name: pkgsrc
Committed By: tnn
Date: Tue Aug 28 11:32:33 UTC 2018
Modified Files:
pkgsrc/sysutils/cdrtools: Makefile
Log Message:
cdrtools: fix build w/ clang
To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 pkgsrc/sysutils/cdrtools/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/cdrtools/Makefile
diff -u pkgsrc/sysutils/cdrtools/Makefile:1.117 pkgsrc/sysutils/cdrtools/Makefile:1.118
--- pkgsrc/sysutils/cdrtools/Makefile:1.117 Wed Jul 4 13:40:36 2018
+++ pkgsrc/sysutils/cdrtools/Makefile Tue Aug 28 11:32:33 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2018/07/04 13:40:36 jperkin Exp $
+# $NetBSD: Makefile,v 1.118 2018/08/28 11:32:33 tnn Exp $
DISTNAME= cdrtools-3.01
PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/}
@@ -102,12 +102,17 @@ SUBST_MESSAGE.ins_base= Fixing INS_BASE.
do-configure:
cd ${WRKSRC}/RULES; \
- for suffix in netbsd-cc.rul netbsd-gcc.rul; do \
- if [ ! -f ${MACHINE}-$$suffix ]; then \
- ln -sf i386-$$suffix ${MACHINE}-$$suffix; \
+ if [ ! -e i386-netbsd-clang.rul ]; then \
+ ln -s i386-netbsd-gcc.rul i386-netbsd-clang.rul; \
+ fi; \
+ for suffix in netbsd-cc.rul netbsd-gcc.rul netbsd-clang.rul; do \
+ if [ ! -e ${MACHINE}-$$suffix ]; then \
+ ln -s i386-$$suffix ${MACHINE}-$$suffix; \
fi; \
done; \
- $(CP) -fp i386-darwin-clang.rul x86_64-darwin-clang.rul
+ if [ ! -e x86_64-darwin-clang.rul ]; then \
+ ln -s i386-darwin-clang.rul x86_64-darwin-clang.rul; \
+ fi
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} config
post-build:
Home |
Main Index |
Thread Index |
Old Index