diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-22 00:25:55 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-22 00:25:55 +0000 |
commit | 13f820fab3b5d430dde3bae4824024d3cbb861b0 (patch) | |
tree | b604309989fac2b9609d9eeeff8bde1bd8aad5d4 /audio/portaudio | |
parent | f9a72273af03cbde4e1c8ab475a749cf1ccd7394 (diff) | |
download | ports-13f820fab3b5d430dde3bae4824024d3cbb861b0.tar.gz ports-13f820fab3b5d430dde3bae4824024d3cbb861b0.zip |
Notes
Diffstat (limited to 'audio/portaudio')
-rw-r--r-- | audio/portaudio/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 3e0189f4e6b3..dc8d98499335 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/Makefile @@ -37,11 +37,15 @@ PLIST_SUB+= WITH_PATESTS="" pre-patch: # replace \r\n with \n -# replace <malloc.h> with <stdlib.h> @${FIND} ${WRKSRC} -type f \ | ${XARGS} -x -n 10 \ ${REINPLACE_CMD} -E \ - -e 's|
||' \ + -e 's|
||' +post-patch: +# replace obsolete headers, and fix up thread library + @${FIND} ${WRKSRC} -type f \ + | ${XARGS} -x -n 10 \ + ${REINPLACE_CMD} -E \ -e 's|malloc.h|stdlib.h|' \ -e 's|machine\/soundcard.h|sys\/soundcard.h|' \ -e 's|-lpthread|${PTHREAD_LIBS}|' |