Page MenuHomeFreeBSD

lang/hugs: Workaround 12-CURRENT fallout
ClosedPublic

Authored by arrowd on Feb 3 2018, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 28, 10:39 PM
Unknown Object (File)
Dec 21 2025, 4:06 AM
Unknown Object (File)
Dec 1 2025, 11:48 AM
Unknown Object (File)
Nov 27 2025, 5:36 PM
Unknown Object (File)
Nov 26 2025, 9:25 PM
Unknown Object (File)
Nov 25 2025, 2:42 AM
Unknown Object (File)
Nov 11 2025, 6:03 AM
Unknown Object (File)
Nov 1 2025, 5:57 AM

Details

Summary

runhugs binary crashes when compiled with -O2 on i386 12-CURRENT system. Workaround it by compiling with -O0.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

swills added inline comments.
lang/hugs/Makefile
28 ↗(On Diff #38824)

If this is only needed on 12-CURRENT then check OSVERSION > 1200056 or whatever as well.

lang/hugs/Makefile
26 ↗(On Diff #38824)

ARCH is not defined at that point of the Makefile.

Constrain workaround to FreeBSD 12 only.

arrowd added inline comments.
lang/hugs/Makefile
26 ↗(On Diff #38824)

Hum, it worked for me as it is. Should I include <bsd.options.mk> then, or something else?

  • Include bsd.port.pre.mk to be able to use ${ARCH}
This revision was not accepted when it landed; it landed in state Needs Review.Feb 28 2018, 10:54 AM
This revision was automatically updated to reflect the committed changes.