svn commit: r349672 - head/german/dtaus

Dirk Meyer dinoex at FreeBSD.org
Sun Mar 30 19:47:05 UTC 2014


Author: dinoex
Date: Sun Mar 30 19:47:04 2014
New Revision: 349672
URL: http://svnweb.freebsd.org/changeset/ports/349672
QAT: https://qat.redports.org/buildarchive/r349672/

Log:
  - honor CC, CFLAGS

Modified:
  head/german/dtaus/Makefile

Modified: head/german/dtaus/Makefile
==============================================================================
--- head/german/dtaus/Makefile	Sun Mar 30 19:46:10 2014	(r349671)
+++ head/german/dtaus/Makefile	Sun Mar 30 19:47:04 2014	(r349672)
@@ -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/


More information about the svn-ports-head mailing list