1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/gawk/Makefile
Johan van Selst 087dd6152a - Force linking with readline from ports
Note that gawk works fine with readline from base,
  but it would break dependency tracking if we get this wrong

PR:		200408
Submitted by:	sunpoet
2015-05-23 14:52:35 +00:00

40 lines
942 B
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= gawk
PORTVERSION= 4.1.3
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= GNU version of Awk
LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv
OPTIONS_DEFINE= NLS MPFR
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
MPFR_DESC?= Support multiple-precision floating-point computation
MPFR_LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr
MPFR_CONFIGURE_OFF= --without-gmp --without-mpfr
INFO= gawk gawkinet
GNU_CONFIGURE= yes
USES= iconv libtool makeinfo readline:port tar:xz
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE} \
AWK=${AWK}
INSTALL_TARGET= install-strip
PLIST_SUB+= VERSION=${PORTVERSION}
post-patch:
@${RM} -f ${WRKSRC}/doc/*.info
@${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \
${WRKSRC}/configure
.include <bsd.port.mk>