diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-03-10 23:28:59 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-03-10 23:28:59 +0000 |
commit | d78bf1fd8084f11ecd40b35a41242d045bb8b4b0 (patch) | |
tree | 0350f3899c1b49b045920ad8a81ae05c71ce4703 /audio/alac | |
parent | Drop maintainership (diff) |
- Fix build on 4.x
Pointed out by: kris via pointyhat
Notes
Notes:
svn path=/head/; revision=130835
Diffstat (limited to 'audio/alac')
-rw-r--r-- | audio/alac/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/alac/Makefile b/audio/alac/Makefile index 809312de605c..ddda3d0084ed 100644 --- a/audio/alac/Makefile +++ b/audio/alac/Makefile @@ -21,11 +21,17 @@ USE_REINPLACE= yes PLIST_FILES= bin/alac PORTDOCS= README +.include <bsd.port.pre.mk> + post-patch: .if !defined(WITH_DEBUG) @${REINPLACE_CMD} -e 's|-ggdb||' \ ${WRKSRC}/${MAKEFILE} .endif +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ + ${WRKSRC}/*.* +.endif @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O3|${CFLAGS}|' \ ${WRKSRC}/${MAKEFILE} @@ -36,4 +42,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |