pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39703: x11/libXau should work with X11_TYPE={native,modular}



>Number:         39703
>Category:       pkg
>Synopsis:       x11/libXau should work with X11_TYPE={native,modular}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 09:10:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #2: 
Wed Sep 24 23:57:38 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Lots of x11/libX<yyy>/buildlink3.mk use the same approach.

This particular patch is necessary to compile wip/libao-nas
on NetBSD-4 (X11_TYPE=native).

>Fix:

Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/libXau/buildlink3.mk,v
retrieving revision 1.3
diff -u -r1.3 buildlink3.mk
--- buildlink3.mk       25 Nov 2006 00:09:19 -0000      1.3
+++ buildlink3.mk       5 Oct 2008 09:02:48 -0000
@@ -3,6 +3,10 @@
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 LIBXAU_BUILDLINK3_MK:= ${LIBXAU_BUILDLINK3_MK}+
 
+.if ${X11_TYPE} != "modular"
+.include "../../mk/x11.buildlink3.mk"
+.else
+
 .if ${BUILDLINK_DEPTH} == "+"
 BUILDLINK_DEPENDS+=    libXau
 .endif
@@ -19,3 +23,5 @@
 .include "../../x11/xproto/buildlink3.mk"
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
+
+.endif



Home | Main Index | Thread Index | Old Index