Changeset View
Changeset View
Standalone View
Standalone View
head/misc/compat8x/Makefile
Show All 18 Lines | |||||
ONLY_FOR_ARCHS= i386 amd64 | ONLY_FOR_ARCHS= i386 amd64 | ||||
PLIST= ${PKGDIR}/pkg-plist.${ARCH} | PLIST= ${PKGDIR}/pkg-plist.${ARCH} | ||||
TARGET_DIR= ${PREFIX}/lib/compat | TARGET_DIR= ${PREFIX}/lib/compat | ||||
TARGET32_DIR= ${PREFIX}/lib32/compat | TARGET32_DIR= ${PREFIX}/lib32/compat | ||||
USE_LDCONFIG= ${TARGET_DIR} | USE_LDCONFIG= ${TARGET_DIR} | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} < 800000 | |||||
IGNORE= is for FreeBSD 8.x and newer | |||||
.endif | |||||
# libstdc++.so.6 could be necessary to run an 8.x binary | # libstdc++.so.6 could be necessary to run an 8.x binary | ||||
.if ${OSVERSION} >= 1000054 | .if ${OSVERSION} >= 1000054 | ||||
RUN_DEPENDS= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x | RUN_DEPENDS= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x | ||||
.endif | .endif | ||||
.if ${ARCH} == amd64 | .if ${ARCH} == amd64 | ||||
PLIST_SUB+= LDCONFIG_LIB32="${LDCONFIG} -32" | PLIST_SUB+= LDCONFIG_LIB32="${LDCONFIG} -32" | ||||
USE_LDCONFIG32= ${TARGET32_DIR} | USE_LDCONFIG32= ${TARGET32_DIR} | ||||
Show All 11 Lines |