tech-pkg archive

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

Re: pkgsrc gcc discussion #3874



sat down and did this
I can pass GCC_REQD to secondary users

for introspection try 'make show-buildlink3' (nice target)

should probably figure out a clean way to do this, but with this change,
adding BLNK_GCC.glib2= 55 passes to secondary users.

Index: bsd.buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink3/bsd.buildlink3.mk,v
retrieving revision 1.239
diff -u -r1.239 bsd.buildlink3.mk
--- bsd.buildlink3.mk	1 Aug 2017 05:48:12 -0000	1.239
+++ bsd.buildlink3.mk	30 Dec 2017 19:20:26 -0000
@@ -233,6 +233,9 @@
        !empty(BUILDLINK_DEPMETHOD.${_pkg_}:Mbuild))
 _BLNK_DEPENDS+=	${_pkg_}
 .  endif
+.  if (!empty(BLNK_GCC.${_pkg_}))
+GCC_REQD+=	${BLNK_GCC.${_pkg_}}
+.  endif
 .endfor
 
 # Add the proper dependency on each package pulled in by buildlink3.mk



Home | Main Index | Thread Index | Old Index