tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fixing x11-links
On Mon, Jun 03, 2013 at 03:48:31AM +0000, David Holland wrote:
> Index: x11/libdrm/buildlink3.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/x11/libdrm/buildlink3.mk,v
> retrieving revision 1.7
> diff -u -r1.7 buildlink3.mk
> --- x11/libdrm/buildlink3.mk 16 May 2013 05:43:14 -0000 1.7
> +++ x11/libdrm/buildlink3.mk 3 Jun 2013 03:45:57 -0000
> @@ -5,7 +5,12 @@
> .if !defined(LIBDRM_BUILDLINK3_MK)
> LIBDRM_BUILDLINK3_MK:=
>
> +.if ${X11_TYPE} == "native"
> +BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.3
> +.else
> BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.15
> +.endif
> +
> BUILDLINK_PKGSRCDIR.libdrm?= ../../x11/libdrm
> BUILDLINK_INCDIRS.libdrm?= include/libdrm
> .endif # LIBDRM_BUILDLINK3_MK
The "BUILDLINK_API_DEPENDS.libdrm" should only be used for builtin
package and therefore only for with native X11. So you could
simply your patch like this:
BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.3
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index