- honor CC, CFLAGS

This commit is contained in:
Dirk Meyer 2014-03-30 19:47:04 +00:00
parent 345e930587
commit e07b0852e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349672

View File

@ -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/