From 1df3bce402ccfa82eaafdb3575212492114847e4 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 16 Oct 2013 12:22:16 +0000 Subject: [PATCH] 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 --- misc/compat8x/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc/compat8x/Makefile b/misc/compat8x/Makefile index aac760c70719..8a50cf82150a 100644 --- a/misc/compat8x/Makefile +++ b/misc/compat8x/Makefile @@ -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}