Opened 8 years ago
Last modified 8 years ago
#52739 closed defect
perl5 @5.22.2: build_arch and universal not fully respected — at Initial Version
Reported by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | Owned by: | mojca@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | perl5 |
Description
The .bundle files are not built with arch flags, so they do not respect build_arch and are not built universal.
Attached are several proposed solutions.
- Portfile1.diff adds
-Alddlflags="$LDFLAGS"
to configure.post_args. It adds the arch flags, but it also adds-L/opt/local/lib -Wl,-headerpad_max_install_names
, which might not be desirable.
- Portfile2.diff and Portfile2.diff just add
"-Alddlflags=\"[get_canonical_archflags ld]\""
to configure.post_args. Extra code, however, is required to makeget_canonical_archflags
work correctly.get_canonical_archflags
determines if universal flags are required using the following code:if {![variant_exists universal] || ![variant_isset universal]} {
When configure.post_args-append is run, however, the universal variant has not yet been created. I assume this is to give the Portfile a chance to create its own.
Change History (3)
Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | Portfile1.diff added |
---|
Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | Portfile2.diff added |
---|
Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | Portfile3.diff added |
---|
Note: See
TracTickets for help on using
tickets.