if math/mpfr and math/gmp are present at th etime of gawk compilation then they are detected by configure and linked to gawk such dependency is not recorded, so package installed on other system without mfpr&gmp will not start Fix: gawk should not be linked against mpfr&gmp unless requested by administrator. Dependencies need to be properly recorded in such case. See patch bellow How-To-Repeat: compile lang/gawk on system with math/mpfr & math/gmp present then deinstall math/mpfr & math/gmp then try to run gawk
Responsible Changed From-To: freebsd-ports-bugs->johans Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed, thanks.
Author: johans Date: Sat Jun 29 09:30:23 2013 New Revision: 322035 URL: http://svnweb.freebsd.org/changeset/ports/322035 Log: - Make optional dependency on libmpfr explicit in GNU awk This adds support for multiple-precision floating-point computation PR: ports/180004 Submitted by: Dan Lukes <dan@obluda.cz> Modified: head/lang/gawk/Makefile Modified: head/lang/gawk/Makefile ============================================================================== --- head/lang/gawk/Makefile Sat Jun 29 09:25:14 2013 (r322034) +++ head/lang/gawk/Makefile Sat Jun 29 09:30:23 2013 (r322035) @@ -11,6 +11,9 @@ COMMENT= The GNU version of Awk LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv +OPTIONS_DEFINE= MPFR +MPFR_DESC?= Support multiple-precision floating-point computation + INFO= gawk gawkinet USE_XZ= true @@ -35,6 +38,12 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif +.if ${PORT_OPTIONS:MMPFR} +LIB_DEPENDS= mpfr:${PORTSDIR}/math/mpfr +.else +CONFIGURE_ARGS+=--without-gmp --without-mpfr +.endif + post-patch: @${RM} -f ${WRKSRC}/doc/*.info @${REINPLACE_CMD} -e 's/ -export-dynamic/ -Wl,--export-dynamic/' \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"