[BACK]Return to builtin.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / MesaLib

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/graphics/MesaLib/builtin.mk between version 1.18 and 1.19

version 1.18, 2012/03/19 12:34:13 version 1.19, 2013/06/17 05:27:50
Line 2 
Line 2 
   
 BUILTIN_PKG:=   MesaLib  BUILTIN_PKG:=   MesaLib
   
 BUILTIN_FIND_FILES_VAR:=        H_MESALIB  BUILTIN_FIND_FILES_VAR:=        H_MESALIB PC_GL
 BUILTIN_FIND_FILES.H_MESALIB=   ${X11BASE}/include/GL/glx.h  BUILTIN_FIND_FILES.H_MESALIB=   ${X11BASE}/include/GL/glx.h
   BUILTIN_FIND_FILES.PC_GL=       ${X11BASE}/lib/pkgconfig/gl.pc
   
 .include "../../mk/buildlink3/bsd.builtin.mk"  .include "../../mk/buildlink3/bsd.builtin.mk"
   
Line 12  BUILTIN_FIND_FILES.H_MESALIB= ${X11BASE}
Line 13  BUILTIN_FIND_FILES.H_MESALIB= ${X11BASE}
 ### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").  ### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
 ###  ###
 .if !defined(IS_BUILTIN.MesaLib)  .if !defined(IS_BUILTIN.MesaLib)
 .  if empty(H_MESALIB:M__nonexistent__)  .  if empty(PC_GL:M__nonexistent__)
   IS_BUILTIN.MesaLib=     yes
   .  elif empty(H_MESALIB:M__nonexistent__)
 IS_BUILTIN.MesaLib=     yes  IS_BUILTIN.MesaLib=     yes
 .  else  .  else
 IS_BUILTIN.MesaLib=     no  IS_BUILTIN.MesaLib=     no
Line 25  MAKEVARS+= IS_BUILTIN.MesaLib
Line 28  MAKEVARS+= IS_BUILTIN.MesaLib
 ### a package name to represent the built-in package.  ### a package name to represent the built-in package.
 ###  ###
 .if !defined(BUILTIN_PKG.MesaLib) && \  .if !defined(BUILTIN_PKG.MesaLib) && \
     !empty(IS_BUILTIN.MesaLib:M[yY][eE][sS]) && \      !empty(IS_BUILTIN.MesaLib:M[yY][eE][sS])
     empty(H_MESALIB:M__nonexistent__)  .  if empty(PC_GL:M__nonexistent__)
 .  include "../../graphics/Mesa/version.mk"  BUILTIN_VERSION.Mesa!= ${SED} -n -e 's/Version: //p' ${PC_GL}
   .  elif empty(H_MESALIB:M__nonexistent__)
   .    include "../../graphics/Mesa/version.mk"
   .  else # ?
   BUILTIN_VERSION.Mesa:= 0.something-weird-happened
   .  endif
 BUILTIN_PKG.MesaLib=    MesaLib-${BUILTIN_VERSION.Mesa}  BUILTIN_PKG.MesaLib=    MesaLib-${BUILTIN_VERSION.Mesa}
   MAKEVARS+=      BUILTIN_VERSION.Mesa
 .endif  .endif
 MAKEVARS+=      BUILTIN_PKG.MesaLib  MAKEVARS+=      BUILTIN_PKG.MesaLib
   

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>