aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2010-06-29 18:10:17 +0800
committerstefan <stefan@FreeBSD.org>2010-06-29 18:10:17 +0800
commit68dd1f362078a88a0c82810495543f3258c0ccb8 (patch)
tree66a3ba100e47ac3f93d366b77073373807aa638d /graphics
parent975bfd559112513f627fcb72300195cb87c1cb31 (diff)
downloadfreebsd-ports-gnome-68dd1f362078a88a0c82810495543f3258c0ccb8.tar.gz
freebsd-ports-gnome-68dd1f362078a88a0c82810495543f3258c0ccb8.tar.zst
freebsd-ports-gnome-68dd1f362078a88a0c82810495543f3258c0ccb8.zip
Fix syntax warning in aalib.m4.
PR: 145220 Submitted by: Grzegorz Blach <magik@roorback.net> Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/aalib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile
index d4afd4c99405..a0911d7287f3 100644
--- a/graphics/aalib/Makefile
+++ b/graphics/aalib/Makefile
@@ -7,7 +7,7 @@
PORTNAME= aalib
PORTVERSION= 1.4.r5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= SF/aa-project/aa-lib/1.4rc5
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
@@ -59,6 +59,9 @@ post-patch:
s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g ; \
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} \
+ -e 's|AC_DEFUN(AM_PATH_AALIB|AC_DEFUN([AM_PATH_AALIB]|g' \
+ ${WRKSRC}/aalib.m4
@${FIND} ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \
| ${XARGS} ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g'