aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2012-05-06 01:46:41 +0800
committerak <ak@FreeBSD.org>2012-05-06 01:46:41 +0800
commit24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c (patch)
treedd7328ad246fdc5aa29d89f0e2e66fa58606898f /audio
parentfd59a3dcada705c57bd3b53e493ad33abad5e2de (diff)
downloadfreebsd-ports-gnome-24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c.tar.gz
freebsd-ports-gnome-24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c.tar.zst
freebsd-ports-gnome-24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c.zip
- Use USE_DOS2UNIX instead of homemade equivalent
Approved by: eadler (mentor)
Diffstat (limited to 'audio')
-rw-r--r--audio/portaudio/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile
index 7de276643fe9..f5d32b863020 100644
--- a/audio/portaudio/Makefile
+++ b/audio/portaudio/Makefile
@@ -20,6 +20,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+USE_DOS2UNIX= yes
+
PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION}
SHLIB_VERSION= 0
@@ -33,12 +35,6 @@ PLIST_SUB+= WITH_PATESTS="@comment "
PLIST_SUB+= WITH_PATESTS=""
.endif
-pre-patch:
-# replace \r\n with \n
- @${FIND} ${WRKSRC} -type f \
- | ${XARGS} -x -n 10 \
- ${REINPLACE_CMD} -E \
- -e 's| ||'
post-patch:
# replace obsolete headers, and fix up thread library
@${FIND} ${WRKSRC} -type f \