freebsd-ports/devel/dub/files/patch-build.sh
Jose Alonso Cardenas Marquez 067e853f30 - Update to 1.7.1
2018-02-01 20:18:51 +00:00

17 lines
481 B
Bash

--- build.sh.orig 2017-12-13 09:54:28.459920000 -0500
+++ build.sh 2017-12-13 09:55:25.463123000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
set -e
if [ "$DMD" = "" ]; then
@@ -56,7 +56,7 @@
MACOSX_DEPLOYMENT_TARGET=10.7
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