From 9d6417651558f0ead10cd340f5aa99463312463b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 4 Apr 2014 13:23:38 +0000 Subject: [PATCH] Use MAKE_ARGS instead of patching the Makefile --- devel/dxa65/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/devel/dxa65/Makefile b/devel/dxa65/Makefile index ca13e400d276..be6af60a4d90 100644 --- a/devel/dxa65/Makefile +++ b/devel/dxa65/Makefile @@ -16,10 +16,7 @@ USES= gmake PLIST_FILES= bin/dxa65 man/man1/dxa.1.gz PORTDOCS= INSTALL - -post-patch-script: - @${REINPLACE_CMD} 's|CC = |CC ?= |g' ${WRKSRC}/Makefile - @${REINPLACE_CMD} 's|CFLAGS = |CFLAGS ?= |g' ${WRKSRC}/Makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dxa ${STAGEDIR}${PREFIX}/bin/dxa65