Index: head/devel/dub/files/patch-build.sh =================================================================== --- head/devel/dub/files/patch-build.sh (revision 479133) +++ head/devel/dub/files/patch-build.sh (revision 479134) @@ -1,27 +1,27 @@ ---- build.sh.orig 2018-01-21 22:30:48 UTC +--- build.sh.orig 2018-05-01 13:43:29 UTC +++ build.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e if [ "$DMD" = "" ]; then @@ -41,9 +41,6 @@ if [[ $VERSION < 2.069.0 ]]; then LIBS=`echo "$LIBS" | sed 's/^-L/-L-L/; s/ -L/ -L-L/g; s/^-l/-L-l/; s/ -l/ -L-l/g'` fi -if [ "$GITVER" = "" ]; then - GITVER=$(git describe) || echo "Could not determine a version with git." -fi if [ "$GITVER" != "" ]; then echo Generating version file... echo "module dub.version_;" > source/dub/version_.d @@ -56,7 +53,7 @@ fi - MACOSX_DEPLOYMENT_TARGET=10.7 + MACOSX_DEPLOYMENT_TARGET=10.8 echo Running $DMD... -$DMD -ofbin/dub -g -O -w -version=DubUseCurl -Isource $* $LIBS @build-files.txt +$DMD -ofbin/dub -O -w -version=DubUseCurl -Isource $* $LIBS @build-files.txt bin/dub --version echo DUB has been built as bin/dub. echo Index: head/devel/dub/files/patch-source-dub_version-d =================================================================== --- head/devel/dub/files/patch-source-dub_version-d (revision 479133) +++ head/devel/dub/files/patch-source-dub_version-d (revision 479134) @@ -1,6 +1,6 @@ ---- source/dub/version_.d.orig 2018-01-21 22:30:48 UTC +--- source/dub/version_.d.orig 2018-05-01 13:43:29 UTC +++ source/dub/version_.d @@ -1,2 +1,2 @@ module dub.version_; --enum dubVersion = "v1.7.1"; +-enum dubVersion = "v1.9.0"; +enum dubVersion = "v%%PORTVERSION%%";