aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/aalib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile
index 9c381b37035e..25a90c7e022b 100644
--- a/graphics/aalib/Makefile
+++ b/graphics/aalib/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ARGS= --with-x=no
post-patch:
@${RM} -f ${WRKSRC}/config.cache
@${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
- 's|<malloc.h>|<stdlib.h>|g'
+ @find ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \
+ | xargs ${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>