Fri Dec 3 13:44:01 2021 UTC ()
modular-xorg-server: Remove invlid line


(ryoon)
diff -r1.1 -r1.2 pkgsrc/x11/modular-xorg-server/builtin.mk

cvs diff -r1.1 -r1.2 pkgsrc/x11/modular-xorg-server/builtin.mk (expand / switch to unified diff)

--- pkgsrc/x11/modular-xorg-server/builtin.mk 2021/12/03 13:05:31 1.1
+++ pkgsrc/x11/modular-xorg-server/builtin.mk 2021/12/03 13:44:01 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: builtin.mk,v 1.1 2021/12/03 13:05:31 nia Exp $ 1# $NetBSD: builtin.mk,v 1.2 2021/12/03 13:44:01 ryoon Exp $
2 2
3BUILTIN_PKG:= modular-xorg-server 3BUILTIN_PKG:= modular-xorg-server
4 4
5BUILTIN_FIND_FILES_VAR:= XORG_SERVER 5BUILTIN_FIND_FILES_VAR:= XORG_SERVER
6BUILTIN_FIND_FILES.XORG_SERVER= ${X11BASE}/bin/Xorg 6BUILTIN_FIND_FILES.XORG_SERVER= ${X11BASE}/bin/Xorg
7 7
8.include "../../mk/buildlink3/bsd.builtin.mk" 8.include "../../mk/buildlink3/bsd.builtin.mk"
9 9
10### 10###
11### Determine if there is a built-in implementation of the package and 11### Determine if there is a built-in implementation of the package and
12### set IS_BUILTIN.<pkg> appropriately ("yes" or "no"). 12### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
13### 13###
14.if !defined(IS_BUILTIN.modular-xorg-server) 14.if !defined(IS_BUILTIN.modular-xorg-server)
@@ -20,27 +20,26 @@ IS_BUILTIN.modular-xorg-server= no @@ -20,27 +20,26 @@ IS_BUILTIN.modular-xorg-server= no
20.endif 20.endif
21MAKEVARS+= IS_BUILTIN.modular-xorg-server 21MAKEVARS+= IS_BUILTIN.modular-xorg-server
22 22
23### 23###
24### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to 24### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
25### a package name to represent the built-in package. 25### a package name to represent the built-in package.
26### 26###
27.if !defined(BUILTIN_PKG.modular-xorg-server) && \ 27.if !defined(BUILTIN_PKG.modular-xorg-server) && \
28 !empty(IS_BUILTIN.modular-xorg-server:M[yY][eE][sS]) && \ 28 !empty(IS_BUILTIN.modular-xorg-server:M[yY][eE][sS]) && \
29 empty(XORG_SERVER:M__nonexistent__) 29 empty(XORG_SERVER:M__nonexistent__)
30 30
31# we're more worried about existence, rather than actual version 31# we're more worried about existence, rather than actual version
32BUILTIN_VERSION.modular-xorg-server= 1.20.13 32BUILTIN_VERSION.modular-xorg-server= 1.20.13
33$ 
34BUILTIN_PKG.modular-xorg-server= modular-xorg-server-${BUILTIN_VERSION.modular-xorg-server} 33BUILTIN_PKG.modular-xorg-server= modular-xorg-server-${BUILTIN_VERSION.modular-xorg-server}
35.endif 34.endif
36MAKEVARS+= BUILTIN_PKG.modular-xorg-server 35MAKEVARS+= BUILTIN_PKG.modular-xorg-server
37 36
38### 37###
39### Determine whether we should use the built-in implementation if it 38### Determine whether we should use the built-in implementation if it
40### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no"). 39### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
41### 40###
42.if !defined(USE_BUILTIN.modular-xorg-server) 41.if !defined(USE_BUILTIN.modular-xorg-server)
43. if ${PREFER.modular-xorg-server} == "pkgsrc" 42. if ${PREFER.modular-xorg-server} == "pkgsrc"
44USE_BUILTIN.modular-xorg-server= no 43USE_BUILTIN.modular-xorg-server= no
45. else 44. else
46USE_BUILTIN.modular-xorg-server= ${IS_BUILTIN.modular-xorg-server} 45USE_BUILTIN.modular-xorg-server= ${IS_BUILTIN.modular-xorg-server}