Page MenuHomeFreeBSD

lang/python27 Remove SEM option and turn it on default
ClosedPublic

Authored by miwi on Apr 21 2017, 10:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 13 2024, 7:54 PM
Unknown Object (File)
Mar 13 2024, 7:54 PM
Unknown Object (File)
Mar 13 2024, 7:54 PM
Unknown Object (File)
Mar 13 2024, 7:51 PM
Unknown Object (File)
Mar 13 2024, 7:51 PM
Unknown Object (File)
Mar 10 2024, 1:50 PM
Unknown Object (File)
Mar 7 2024, 6:02 PM
Unknown Object (File)
Jan 15 2024, 3:59 PM
Subscribers

Details

Summary

Since FreeBSD 8.x EOL in 2015-08-01 the option doesn't have any value beyond footshooting[1]. sem_open() and sem_init(pshared=1) always work FreeBSD 9.0 or later after base r201546.

Test Plan

exp-run requiered to make sure we dont break anything else

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 8824
Build 9198: arc lint + arc unit

Event Timeline

jbeich requested changes to this revision.Apr 21 2017, 11:21 AM
jbeich added inline comments.
lang/python27/Makefile
34
  • autoconf detects sem_open() just fine, so leave caching for /usr/ports/Templates/config.site
  • dropping a comment that still applies without a rationale seems like a regression
36
  • don't mix unrelated changes, they make it harder to review
  • indentation is now inconsistent with plat-freebsd* comment below
122–123

The extra patch is gone, so the conditional can go away.

lang/python27/files/extra-patch-setup.py
11

Can you drop a similar hunk in files/patch-setup.py? Upstream probably wanted to override autodetection but now it's just a nop.

This revision now requires changes to proceed.Apr 21 2017, 11:21 AM
lang/python27/Makefile
34

FYI: other lang/python* ports don't pass ac_cv_posix_semaphores_enabled=yes.

miwi edited edge metadata.
  • Address jbeich comments
This revision is now accepted and ready to land.Apr 21 2017, 6:43 PM

I believe this part from patch-setup.py can be removed:

  • elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'):

+ elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11'):

miwi edited edge metadata.
  • Regenerate patch-setup.py to drop all gruft
This revision now requires review to proceed.Apr 22 2017, 3:45 AM

I believe this part from patch-setup.py can be removed:

  • elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'):

+ elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11'):

I've drop the that.

This revision was automatically updated to reflect the committed changes.