diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-25 01:08:31 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-25 01:08:31 +0300 |
commit | 368372ea48a66d8db76bc3998f45963e37583848 (patch) | |
tree | 9ad2fd760e6c64e952bc59e89f3b511bca285740 /freebsd/Makefile | |
parent | 38d1f4c93849ab64b72a1bc7516e41d7ae99695d (diff) | |
download | sciteco-368372ea48a66d8db76bc3998f45963e37583848.tar.gz |
FreeBSD port: overwrite BINMODE, fixing `make package` without root
Turns out that the FreeBSD ports Makefiles install programs and scripts with 0555 by default,
i.e. without write permissions.
This broke the install-exec-hook unless building as root.
Unfortunately, this also broke the Poudriere builds at the FreeBSD build servers.
See https://pkg-status.freebsd.org/package19/data/141amd64-default-build-as-user/aa1f9b124e36/logs/errors/sciteco-curses-2.2.0.log
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r-- | freebsd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile index 23d62f1..d8b7924 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -33,6 +33,10 @@ CONFIGURE_OUTSOURCE= yes MAKEFILE= GNUmakefile TEST_TARGET= check +# SciTECO uses an install-exec-hook to fix up hash-bang lines. +# This is broken by the default 0555 mode. +BINMODE= 755 + # NOTE: Unlike on Debian, we cannot build a sciteco-common package. # FreeBSD does not yet support subpackages. # Therefore both flavors will install totally independant |