1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Fix patch context

This commit is contained in:
Antoine Brodin 2018-09-06 18:56:19 +00:00
parent 51d4d158c2
commit 2c9cf70408
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479134
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
--- 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
@ -17,7 +17,7 @@
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

View File

@ -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%%";