diff options
author | stephen <stephen@FreeBSD.org> | 2015-05-25 02:04:01 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2015-05-25 02:04:01 +0800 |
commit | c48f2ef7fc1c12fe1b779882683f4e488ba9c50f (patch) | |
tree | 6969905831d1444227dd5fb4cf810108ecee6906 /math | |
parent | 6b209aaeee571028c960655d2c63d2c607dca901 (diff) | |
download | freebsd-ports-gnome-c48f2ef7fc1c12fe1b779882683f4e488ba9c50f.tar.gz freebsd-ports-gnome-c48f2ef7fc1c12fe1b779882683f4e488ba9c50f.tar.zst freebsd-ports-gnome-c48f2ef7fc1c12fe1b779882683f4e488ba9c50f.zip |
- Use dos2unix instead of gpatch to handle CR in the diff files.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-forge-odepkg/Makefile | 3 | ||||
-rw-r--r-- | math/octave-forge-odepkg/files/patch-Makefile | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/math/octave-forge-odepkg/Makefile b/math/octave-forge-odepkg/Makefile index a526aeb5f58e..f01021ca36ef 100644 --- a/math/octave-forge-odepkg/Makefile +++ b/math/octave-forge-odepkg/Makefile @@ -11,7 +11,8 @@ COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv2 LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING -BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch +USES+= dos2unix +DOS2UNIX_GLOB= *.diff MAKE_JOBS_UNSAFE= yes diff --git a/math/octave-forge-odepkg/files/patch-Makefile b/math/octave-forge-odepkg/files/patch-Makefile deleted file mode 100644 index c654e6a571bd..000000000000 --- a/math/octave-forge-odepkg/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile-orig 2015-05-21 17:31:08.336670000 +0000 -+++ Makefile 2015-05-21 17:31:18.556578000 +0000 -@@ -5,7 +5,7 @@ - - DEVELOPERDEFS = -Wall -W -Wshadow - TGZUNPACK = tar -xzf # "tar -xzvf" to print some output --PATCHPROG = patch -p0 # Needed to patch the Fortran codes -+PATCHPROG = gpatch -p0 # Needed to patch the Fortran codes - - # MKOCTFILE = $(MKOCTFILE) has already been defined in Makeconf - # MKMEXFILE = $(MKOCTFILE) --mex |