aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libafterbase/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libafterbase/Makefile')
-rw-r--r--devel/libafterbase/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/libafterbase/Makefile b/devel/libafterbase/Makefile
index 87ea151a9304..f11f56bd10ff 100644
--- a/devel/libafterbase/Makefile
+++ b/devel/libafterbase/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libafterbase
-PORTVERSION= 0.81
+PORTVERSION= 0.91
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterstep
@@ -17,11 +17,12 @@ MAINTAINER= ports@FreeBSD.org
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sharedlibs --with-x
-WRKSRC= ${WRKDIR}/libAfterBase
INSTALLS_SHLIB= yes
-post-install:
- @${MV} -f ${PREFIX}/lib/libAfterBase.so.0.81 ${PREFIX}/lib/libAfterBase.so.0
+post-patch:
+ @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ 's|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>