pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/smlnj11072 sync pkglint-type changes from main sm...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1db4f5017a7a
branches: trunk
changeset: 349304:1db4f5017a7a
user: dholland <dholland%pkgsrc.org@localhost>
date: Sun Jul 03 18:23:35 2016 +0000
description:
sync pkglint-type changes from main smlnj package
diffstat:
lang/smlnj11072/Makefile | 12 ++++++------
lang/smlnj11072/Makefile.common | 4 +++-
2 files changed, 9 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r 07a493f08bb4 -r 1db4f5017a7a lang/smlnj11072/Makefile
--- a/lang/smlnj11072/Makefile Sun Jul 03 18:21:39 2016 +0000
+++ b/lang/smlnj11072/Makefile Sun Jul 03 18:23:35 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/07/03 17:50:31 dholland Exp $
+# $NetBSD: Makefile,v 1.2 2016/07/03 18:23:35 dholland Exp $
#
DISTNAME= boot.${BOX}-unix
@@ -32,8 +32,6 @@
SML_VERSION= 110.72
-PKG_DESTDIR_SUPPORT= user-destdir
-
WRKSRC= ${WRKDIR}
DIST_SUBDIR= smlnj-${SML_VERSION}
USE_TOOLS+= gmake pax
@@ -67,12 +65,14 @@
# resolve definition of SML_BASE, CFLAGS in patched files
do-configure:
+ set -e; \
if [ ${MACHINE_ARCH} = "powerpc" ]; then \
- ${AWK} '(! /^request nlffi$$/) { print }' \
+ ${AWK} '(! /^request nlffi$$/) { print }' \
< ${WRKDIR}/config/targets \
> ${WRKDIR}/temp; \
${MV} ${WRKDIR}/temp ${WRKDIR}/config/targets; \
fi
+ set -e; \
cd ${WRKDIR}/config; \
for f in ${SML_SCRIPTS}; do \
${CP} "$${f}" "$${f}.tmp"; \
@@ -82,14 +82,14 @@
cd ${WRKDIR}/src/runtime/objs; \
for f in *; do \
${CP} "$${f}" "$${f}.tmp"; \
- ${SED} -e 's|@CFLAGS@|${CFLAGS}|g' \
+ ${SED} -e 's|@CFLAGS@|'${CFLAGS:Q}'|g' \
< "$${f}.tmp" > "$${f}"; \
done
# The build target needs to run $WRKDIR/config/install.sh
do-build:
cd ${WRKDIR} && unset PWD && \
- FILESDIR="${FILESDIR}" PATCH="${PATCH}" PATCH_ARGS="${PATCH_ARGS}" \
+ FILESDIR=${FILESDIR} PATCH=${PATCH:Q} PATCH_ARGS=${PATCH_ARGS:Q} \
SMLNJ_HOME="${WRKDIR}" ./config/install.sh
# install target
diff -r 07a493f08bb4 -r 1db4f5017a7a lang/smlnj11072/Makefile.common
--- a/lang/smlnj11072/Makefile.common Sun Jul 03 18:21:39 2016 +0000
+++ b/lang/smlnj11072/Makefile.common Sun Jul 03 18:23:35 2016 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile.common,v 1.2 2016/07/03 18:21:39 dholland Exp $
+# $NetBSD: Makefile.common,v 1.3 2016/07/03 18:23:35 dholland Exp $
+#
+# used by lang/smlnj/Makefile
# smlnj supports i386, hppa, sparc, ppc, mlrisc & alpha
# but this package only handles i386, ppc, and sparc.
Home |
Main Index |
Thread Index |
Old Index