mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
Reinstate IA32_BINARY_PORT=yes knob that was removed in r249298 to allow
installation on 64-bit systems even if 32-bit libraries are not present (binary was statically linked): nowadays, the binary is linked dynamically and thus requires /usr/lib32. This also allows to remove BROKEN_* knobs.
This commit is contained in:
parent
b1088c3e2d
commit
9f4fbaaf59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453662
@ -16,9 +16,7 @@ LICENSE_NAME= RAR license
|
||||
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
BROKEN_powerpc= fails to install: File format not recognized
|
||||
BROKEN_sparc64= fails to install: File format not recognized
|
||||
|
||||
IA32_BINARY_PORT= yes
|
||||
RESTRICTED= only unmodified original package can be distributed
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/rar
|
||||
@ -27,17 +25,6 @@ PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
.if !defined(HAVE_COMPAT_IA32_KERN)
|
||||
HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then ${ECHO_CMD} YES; fi
|
||||
.endif
|
||||
.if !defined(HAVE_COMPAT_IA32_KERN)
|
||||
IGNORE= requires a kernel with compiled-in IA32 compatibility
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rar ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/rar.txt ${STAGEDIR}${PREFIX}/man/cat1/rar.1
|
||||
@ -49,4 +36,4 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/*.txt ${WRKSRC}/order.htm \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user