mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- honor CC, CFLAGS
This commit is contained in:
parent
345e930587
commit
e07b0852e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349672
@ -20,8 +20,11 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-configure:
|
||||
${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
|
||||
${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
|
||||
${WRKSRC}/bigint.c ${WRKSRC}/dtaus.c
|
||||
${REINPLACE_CMD} -e 's|^CC =|CC?=|' \
|
||||
-e 's|^CFLAGS =|CFLAGS+=|' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dtaus ${STAGEDIR}${PREFIX}/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user