summaryrefslogtreecommitdiffstats
path: root/audio/toolame/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/toolame/Makefile')
-rw-r--r--audio/toolame/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile
index 36ef768..d69029c 100644
--- a/audio/toolame/Makefile
+++ b/audio/toolame/Makefile
@@ -44,7 +44,13 @@ post-patch:
${WRKSRC}/Makefile
.endif
@${REINPLACE_CMD} -E -e \
- 's@^CC\s.+|\$$\((ARCH|DMALLOCLIB|DMAL|OPTIM|WARNING)\)@@g' \
+ 's@\$$\((ARCH|DMALLOCLIB|DMAL|OPTIM|WARNING)\)@@g' \
+ ${WRKSRC}/Makefile
+
+post-configure:
+# C{C,FLAGS} safeness
+ @${REINPLACE_CMD} -E -e \
+ 's|^(CC[[:space:]]*=).+$$|\1${CC} ${CFLAGS}|' \
${WRKSRC}/Makefile
do-install:
OpenPOWER on IntegriCloud