Need help with a port
Nikola Lečić
nikola.lecic at anthesphoria.net
Fri Dec 18 05:51:23 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
On Wed, 16 Dec 2009 21:58:21 -0600
Paul Schmehl <pschmehl_lists at tx.rr.com> wrote:
> I'm the port maintainer for security/barnyard2. I submitted a port
> upgrade a while ago, but the committer asked me to make a change
> before he would approve it. I'm not sure what to do.
>
> The source code, when it's extracted, sets the perms on install-sh to
> r--r--r. This causes an error during the build. The way I tried to
> resolve the issue was by adding this to the Makefile:
>
> +pre-install:
> + ${CHMOD} 744 ${WRKSRC}/install-sh
> +
>
> The committer said that was the wrong way to do it, that I should
> edit the configure file. But the configure file doesn't do anything
> to the install-sh file at all.
I think this should actually be ${CHMOD} ${BINMODE}. I have a similar
thing in one of my ports: textproc/teckit. Besides install-sh, the
permissions of configure script itself had to be altered.
A simple grep for CHMOD and WRKSRC reveals a heap of ports doing such
things in ${WRKSRC}...
- --
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
iJwEAQEDAAYFAksrF6AACgkQ/MM/0rYIoZiXAQP+KDSccIGLTpt0NZFQ41uyZEtr
UUtEuu3k+AqnC0g31m8B4bBORUZyjZliTn8ibip4j+dYwnGBH3yEIS9Jiz5YRf6Y
akB6r+8MAfhVJmVajNoyglJ0nMd3hx21CZ3stXGIiE1ACPAiHbF7RoXjXSLt/Thx
EMHF4UFT6tCdyY7DdL0=
=2oh7
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list