aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sml-nj-devel/Makefile
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2004-12-05 19:26:48 +0800
committerjkoshy <jkoshy@FreeBSD.org>2004-12-05 19:26:48 +0800
commitdb25d9553b52557bdb602d474c9d8c5ccc91cb0c (patch)
tree568c10c279dd6c432eacb0c716aa3f2dff3953a0 /lang/sml-nj-devel/Makefile
parenta5dfe865f3ad3882b9628dbebb6c7a7ab94e1440 (diff)
downloadfreebsd-ports-gnome-db25d9553b52557bdb602d474c9d8c5ccc91cb0c.tar.gz
freebsd-ports-gnome-db25d9553b52557bdb602d474c9d8c5ccc91cb0c.tar.zst
freebsd-ports-gnome-db25d9553b52557bdb602d474c9d8c5ccc91cb0c.zip
Upgrade to v110.51.
Submitted by: Johannes 5 Joemann <joemann@beefree.free.de> [MAINTAINER]
Diffstat (limited to 'lang/sml-nj-devel/Makefile')
-rw-r--r--lang/sml-nj-devel/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/lang/sml-nj-devel/Makefile b/lang/sml-nj-devel/Makefile
index 895338f1a3da..a5f7b813b059 100644
--- a/lang/sml-nj-devel/Makefile
+++ b/lang/sml-nj-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smlnj
-PORTVERSION= 110.50
+PORTVERSION= 110.51
CATEGORIES= lang
MASTER_SITES= http://smlnj.cs.uchicago.edu/dist/working/${PORTVERSION}/
DISTFILES= config.tgz runtime.tgz
@@ -120,10 +120,20 @@ RECOMPILEDIR= src/system
RECOMPILEDIR=
.endif
-MLRUNTIMEPATCHES!= cd ${FILESDIR} && ${LS} do-patch-src::runtime::*
+# calm portlint complaining about /dev/null
+AUXSLASH= /
+AUXDEV= ${AUXSLASH}dev
+AUXDEVNULL!= if [ -w ${AUXDEV}/null ]; then ${ECHO_CMD} -n ${AUXDEV}/null; \
+ else ${ECHO_CMD} -n '${WRKDIR}/.devnull'; fi
+
+MLRUNTIMEPATCHES!= cd ${FILESDIR} && \
+ ( ${LS} do-patch-src::runtime::* 2> ${AUXDEVNULL} || \
+ ${TRUE} )
.if defined(WITH_EVERYTHING)
MLSOURCEUNPACKTARGETS= cm compiler mlrisc smlnj-lib system
-MLSOURCEPATCHES!= cd ${FILESDIR} && ${LS} do-patch-src::*
+MLSOURCEPATCHES!= cd ${FILESDIR} && \
+ ( ${LS} do-patch-src::* 2> ${AUXDEVNULL} || \
+ ${TRUE} )
.else
MLSOURCEUNPACKTARGETS=
MLSOURCEPATCHES=
@@ -181,7 +191,8 @@ pre-install:
${SED} -E -e 's%^(.*[^/])$$%${MLROOTRELATIVE}/src/\1%' \
-e 's%^(.*)/$$%@dirrm\ ${MLROOTRELATIVE}/src/\1%' \
> ${MLRUNTIMEPLIST}
- -@cd ${FILESDIR} && ${LS} do-patch-src::runtime::* | \
+ -@cd ${FILESDIR} && \
+ ( ${LS} do-patch-src::runtime::* 2> ${AUXDEVNULL} ) | \
${SED} -e 's%::%/%g' | \
${SED} -E -e 's%^do-patch-(.*)%${MLROOTRELATIVE}/\1.orig%' \
>> ${MLRUNTIMEPLIST}