1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/devel/autogen/Makefile
Alexey Dokuchaev 3186e08e7c Update Guile to version 2.2.5, modern stable version, and fix dependent
ports to build against it.  Most changes are rather minor and mechanical
except for the devel/gdb (obtained via their bugtracker [1], courtesy of
Doug Evans).  One port (science/meep) I had to mark BROKEN after fixing
it proved to be very tedious and actually unreliable.  It is very old,
there are newer versions available so it should be fixed by updating.

One port (devel/libruin) had revealed a bug in the new Guile code (an
auxiliary script, really) that had to be worked-round; reference to the
problematic upstream commit is provided in the patch.

PR:		229613
Exp-run by:	antoine

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=21104#c8
2019-06-27 09:02:56 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= autogen
PORTVERSION= 5.18.16
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU/${PORTNAME}/rel${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Tool designed to simplify the creation and maintenance of programs
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${RUN_DEPENDS} \
gmktemp:sysutils/coreutils
LIB_DEPENDS= libguile-2.2.so:lang/guile2
RUN_DEPENDS= bash:shells/bash
# bin/columns
CONFLICTS_INSTALL= columns
USES= gmake gnome libtool pathfix perl5 pkgconfig shebangfix tar:xz
USE_GNOME= libxml2
USE_PERL5= build
CONFIGURE_ARGS= --datadir=${PREFIX}/share \
--disable-dependency-tracking \
--with-libguile=yes --with-libxml2=yes
CONFIGURE_ENV= CONFIG_SHELL=${LOCALBASE}/bin/bash
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
USE_LDCONFIG= yes
INFO= autogen
SHEBANG_FILES= autoopts/tpl/*.pl
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/ s| -Wno-format-contains-nul||; /WARN_CFLAGS=/ s| -Werror||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|mktemp --suffix=|g&|' ${WRKSRC}/agen5/mk-stamps.sh ${WRKSRC}/build-aux/run-ag.sh ${WRKSRC}/config/mk-shdefs.in
.include <bsd.port.mk>