summaryrefslogtreecommitdiff
path: root/misc/compat13x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/compat13x/Makefile')
-rw-r--r--misc/compat13x/Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/misc/compat13x/Makefile b/misc/compat13x/Makefile
index 758f710146af..34058bc451a4 100644
--- a/misc/compat13x/Makefile
+++ b/misc/compat13x/Makefile
@@ -1,5 +1,5 @@
PORTNAME= compat13x
-PORTVERSION= 13.5.1305000.20250516
+PORTVERSION= 13.5.1305000.20250911
CATEGORIES= misc
MASTER_SITES= LOCAL/arrowd
PKGNAMESUFFIX= -${ARCH}
@@ -12,18 +12,27 @@ LICENSE= BSD2CLAUSE
USES= tar:xz
NO_BUILD= yes
-ONLY_FOR_ARCHS= aarch64 amd64 i386
+ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le
PLIST= ${PKGDIR}/pkg-plist.${ARCH}
TARGET_DIR= ${PREFIX}/lib/compat
TARGET32_DIR= ${PREFIX}/lib32/compat
USE_LDCONFIG= ${TARGET_DIR}
-NO_SHLIB_REQUIRES_GLOB= *:32
COMPAT_LIBS= libcrypto.so.111 \
libdialog.so.9 \
+ libdpv.so.2 \
libnv.so.0 \
libssl.so.111
+OPTIONS_DEFINE= COMPAT32
+OPTIONS_DEFAULT=COMPAT32
+OPTIONS_EXCLUDE_aarch64=COMPAT32
+OPTIONS_EXCLUDE_i386=COMPAT32
+OPTIONS_EXCLUDE_powerpc=COMPAT32
+OPTIONS_EXCLUDE_powerpc64le=COMPAT32
+COMPAT32_DESC= Install 32-bit compat libraries
+OPTIONS_SUB= yes
+
.include "${.CURDIR}/../compat4x/Makefile.makedist"
.include <bsd.port.pre.mk>
@@ -36,16 +45,18 @@ IGNORE= is for FreeBSD 13.x and newer
RUN_DEPENDS+= compat14x-${ARCH}>=0:misc/compat14x
.endif
-.if ${ARCH} == amd64
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCOMPAT32}
USE_LDCONFIG32= ${TARGET32_DIR}
.endif
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR}
(cd ${WRKSRC}/lib && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET_DIR})
-.if ${ARCH} == amd64
+
+do-install-COMPAT32-on:
@${MKDIR} ${STAGEDIR}${TARGET32_DIR}
(cd ${WRKSRC}/lib32 && ${INSTALL_LIB} *.so.* ${STAGEDIR}${TARGET32_DIR})
-.endif
.include <bsd.port.post.mk>