mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix build on 4.x
Pointed out by: kris via pointyhat
This commit is contained in:
parent
b9316eb218
commit
d78bf1fd80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130835
1 changed files with 7 additions and 1 deletions
|
@ -21,10 +21,16 @@ 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>
|
||||
|
|
Loading…
Add table
Reference in a new issue