Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 14:22:25 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        "David W. Chapman Jr." <dwcjr@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/net/rdesktop Makefile
Message-ID:  <20020402142225.C81056@xor.obsecurity.org>
In-Reply-To: <200204021711.g32HBvd62768@freefall.freebsd.org>; from dwcjr@FreeBSD.org on Tue, Apr 02, 2002 at 09:11:57AM -0800
References:  <200204021711.g32HBvd62768@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Apr 02, 2002 at 09:11:57AM -0800, David W. Chapman Jr. wrote:
> dwcjr       2002/04/02 09:11:57 PST
> 
>   Modified files:
>     net/rdesktop         Makefile 
>   Log:
>   Fix for -current due to lack of libgmp in base system

Erm

+.if ${OSVERSION} >= 500023
+BUILD_DEPENDS=	${PREFIX}/include/gmp.h:${PORTSDIR}/math/libgmp-freebsd
+RUN_DEPENDS=	${PREFIX}/include/gmp.h:${PORTSDIR}/math/libgmp-freebsd
+.endif

1) The libgmp-freebsd port is broken

2) It's a *library*, that's what LIB_DEPENDS was invented for.

3) $OSVERSION == 500023 still contained libgmp, you need to test for 
   $OSVERSION > 500023

.if ${OSVERSION} > 500023
LIB_DEPENDS+=   gmp.4:${PORTSDIR}/math/libgmp3
.endif

Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8qi8hWry0BWjoQKURAjNVAKDpLy2c7M8aQNEyIBxPobypq1nCYACdEaw3
ieiysAPwK/VRyKeRvhduba4=
=i7jG
-----END PGP SIGNATURE-----

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