openbsd-ports/devel/autoconf/Makefile
espie ed1f8b1fc8 Put back mktemp patches as SEPARATE patches.
Brad, next time, ask me, THANKS...

Turn m4 -g test around, so that it actually works on a machine without
enough gm4 compatibility.
2000-03-24 20:48:19 +00:00

33 lines
766 B
Makefile

# $OpenBSD: Makefile,v 1.19 2000/03/24 20:48:19 espie Exp $
DISTNAME= autoconf-2.13
CATEGORIES= devel
NEED_VERSION= 1.223
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= autoconf
MAINTAINER= espie@cvs.openbsd.org
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
SEPARATE_BUILD= concurrent
HAS_CONFIGURE= Yes
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
CONFIGURE_ENV=M4=/usr/bin/m4
FAKE= Yes
pre-configure:
# Check if /usr/bin/m4 recognizes option -g, and has builtin __line__
@if [ X`echo "__line__"|/usr/bin/m4 -g 2>/dev/null` \
== "X1" ]; then \
exit 0; \
fi; \
echo >&2 "Your m4 is not current enough, sorry"; \
exit 1
.include <bsd.port.mk>