* Noteworthy changes in release 1.4.17 (2013-09-22) [stable] ** Fix compilation with newer glibc headers. ** Fix a failure with diverting large amounts of text on mingw (does not affect platforms that can rename an open file). ** A number of portability improvements inherited from gnulib.
36 lines
915 B
Makefile
36 lines
915 B
Makefile
# $NetBSD: Makefile,v 1.72 2013/10/04 21:02:11 wiz Exp $
|
|
|
|
DISTNAME= m4-1.4.17
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/m4/
|
|
COMMENT= GNU version of UNIX m4 macro language processor
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
INFO_FILES= yes
|
|
|
|
TEST_TARGET= check
|
|
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${LOWER_OPSYS} == "aix"
|
|
CFLAGS+= -D_LINUX_SOURCE_COMPAT
|
|
.elif ${OPSYS} == "Cygwin"
|
|
CONFIGURE_ARGS+= ac_cv_func___fpending=yes
|
|
.endif
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${DESTDIR}${PREFIX}/share/examples/m4
|
|
${LN} -sf ${PREFIX}/bin/gm4 ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/m4
|
|
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gm4.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/m4.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|