1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

When OSVERSION is >= 1000054, depends of caompat9x to make sure libstdc++.so.6

is installed and satisfy a possible dependency for a 8.x binary
This commit is contained in:
Renato Botelho 2013-10-16 12:22:16 +00:00
parent 6495991912
commit 1df3bce402
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330500

View File

@ -2,6 +2,7 @@
PORTNAME= compat8x
PORTVERSION= 8.4.804000.201310
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= garga/compat
@ -25,6 +26,11 @@ USE_LDCONFIG= ${TARGET_DIR}
IGNORE= is for FreeBSD 8.x and newer
.endif
# libstdc++.so.6 could be necessary to run an 8.x binary
.if ${OSVERSION} >= 1000054
LIB_DEPENDS= libstdc++.so:${PORTSDIR}/misc/compat9x
.endif
.if ${ARCH} == amd64
PLIST_SUB+= LDCONFIG_LIB32="${LDCONFIG} -32"
USE_LDCONFIG32= ${TARGET32_DIR}