aboutsummaryrefslogtreecommitdiffstats
path: root/devel/autogen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/autogen/Makefile')
-rw-r--r--devel/autogen/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/autogen/Makefile b/devel/autogen/Makefile
index d0bcfcfc8962..751cf9ff54c9 100644
--- a/devel/autogen/Makefile
+++ b/devel/autogen/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= autogen
-PORTVERSION= 5.2.3
+PORTVERSION= 5.2.9
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,15 +17,19 @@ MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= guile:${PORTSDIR}/lang/guile
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile
-USE_LIBTOOL= yes
-
USE_GMAKE= yes
-
+USE_LIBTOOL= yes
+LIBTOOLFILES= configure snprintfv/configure
+CONFIGURE_TARGET= # none
INSTALLS_SHLIB= yes
MAN1= autogen.1 columns.1 getdefs.1
-post-install:
- @${RM} ${PREFIX}/lib/libsnprintfv.la
+pre-patch:
+ @${PERL} -pi -e 's|values.h ||g' ${WRKSRC}/snprintfv/configure
+
+pre-build:
+ @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool
+ @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/snprintfv/libtool
.include <bsd.port.mk>