[MacPorts] SummerOfCode modified

MacPorts Wiki noreply at macports.org
Mon Mar 4 08:38:25 UTC 2019


Page "SummerOfCode" was changed by MarcusCalhoun-Lopez
Diff URL: <https://trac.macports.org/wiki/SummerOfCode?action=diff&version=322>
Revision 322
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: SummerOfCode
=========================================================================
--- SummerOfCode (version: 321)
+++ SummerOfCode (version: 322)
@@ -178,6 +178,18 @@
 `port reclaim` attempts to keep only ports requested by the user or required by them.
 Currently, this means uninstalling ports used to **build** the port.
 There is [https://lists.macports.org/pipermail/macports-users/2019-January/thread.html#46344 interest in modifying this behavior].
+
+* Difficulty: Medium
+* Languages: Tcl
+* Potential mentors: mcalhoun
+
+==== Give Portfile Better Access to CFLAGS, CXXFLAGS, etc. ==== #accessflags
+
+Currently, the environmental variables CFLAGS and the like are set late in the process (arch flags added, -pipe added, etc.).
+Of course, there are [https://lists.macports.org/pipermail/macports-dev/2018-November/thread.html#39694 good reasons for this].
+Unfortunately, this means that there is no Portfile access to these values.
+This causes some ugly workarounds such as duplication of code from the base or `configure.cmd printenv` and `configure.post_args {>> Makefile.macports.inc}`.
+Giving Portfile at least the **option** of accessing these values could help clean up Portfile code.
 
 * Difficulty: Medium
 * Languages: Tcl
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/SummerOfCode>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'SummerOfCode' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list