cd35e97c99
This hack was added 10 years ago; in the unlikely event it is still needed it should be qualified with a specific compiler version, not platform.
28 lines
799 B
Makefile
28 lines
799 B
Makefile
# $NetBSD: Makefile,v 1.77 2019/01/22 14:59:03 tnn Exp $
|
|
|
|
DISTNAME= m4-1.4.18
|
|
PKGREVISION= 2
|
|
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
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
CONFIGURE_ARGS.Cygwin+= ac_cv_func___fpending=yes
|
|
INFO_FILES= yes
|
|
TEST_TARGET= check
|
|
|
|
CFLAGS.AIX+= -D_LINUX_SOURCE_COMPAT
|
|
|
|
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"
|