summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/pngquant/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/pngquant/Makefile b/graphics/pngquant/Makefile
index 43f9365a24a2..b3557c520acf 100644
--- a/graphics/pngquant/Makefile
+++ b/graphics/pngquant/Makefile
@@ -48,6 +48,9 @@ OPENMP_LDFLAGS= -lgomp -pthread
CFLAGS+= -DNDEBUG
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-$$(MAKEFLAGS)||' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngquant ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pngquant.1 ${STAGEDIR}${MANPREFIX}/man/man1