diff options
author | ahze <ahze@FreeBSD.org> | 2005-03-10 23:28:59 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-03-10 23:28:59 +0000 |
commit | 02fdaef6c6da69ec764ebb46498edd01bf5fb877 (patch) | |
tree | b34764d28e2a8cc28c7ee333c867e4bc735e2304 /audio | |
parent | c19162799fdae2809897bc392b1a2740069bcc6e (diff) | |
download | FreeBSD-ports-02fdaef6c6da69ec764ebb46498edd01bf5fb877.zip FreeBSD-ports-02fdaef6c6da69ec764ebb46498edd01bf5fb877.tar.gz |
- Fix build on 4.x
Pointed out by: kris via pointyhat
Diffstat (limited to 'audio')
-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 809312d..ddda3d0 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> |