Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 21:12:02 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Torsten Zuehlsdorff <mailinglists@toco-domains.de>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: How to debug a Mk-Script?
Message-ID:  <56271092.5050507@FreeBSD.org>
In-Reply-To: <5624AEBA.80702@toco-domains.de>
References:  <5624AEBA.80702@toco-domains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ushbwcax8L382MrEjmIWF5RU4rDKnvwn8
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 10/19/2015 1:50 AM, Torsten Zuehlsdorff wrote:
> Hello,
>=20
> after defining a USES pgsql:9.3+ in an port-update i stumbled over this=

> error message:
>=20
> the port wants postgresql-client version 9.3 9.4 and you have version
> 9.4 installed.
>=20
> This seems to be an error in Mk/Uses/pgsql.mk which i found to track
> down (in order to gather some more experience).
>=20
> While i have already an idea what the case can be, i just want to add
> some output into the script. How is this possible? Can someone guide me=

> please?
>=20
> Thanks,
> Torsten

If you're on 10+ you can use .info, otherwise .warning on older make.

=2Einfo your ${msg} goes ${here}

=2Eif defined(whatever)
=2Einfo whatever is defined as: ${whatever}
=2Eendif

--=20
Regards,
Bryan Drewery


--ushbwcax8L382MrEjmIWF5RU4rDKnvwn8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWJxCTAAoJEDXXcbtuRpfPqDMH/jRo5X10ge9RjHVyg8NSurJQ
wxpXZSp1rANxPLYbCiDryGeoyvoZebJ7VEfizG+B3sunG/KdXbIW6lY+5RHX6AEF
IKzPFtyl2ohwxDpI6UWLin3uRx8ciOHGcssvzgIDC4OWsHpqfDTtQcf7dKBz9BH/
6N7g+YtfEitzwmyhP7jxpFTNd43z4kF8m/gJzELDEUpVE/SLdDuiuLClUJzEVKt/
d/78SoO2/ElnrKB39yNzTadqKNwY974kRF8lNXe5EHdUKqlY7ewW5FwIlxWOkrU+
sN1bqrm0Wjp4LTRzsy+P1Qqm7FqHaJQH3PzrWkfD3MthYxahf7wIfMDc4HdufP8=
=69E4
-----END PGP SIGNATURE-----

--ushbwcax8L382MrEjmIWF5RU4rDKnvwn8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56271092.5050507>