call for lightweight GNU C++ runtime port

Nikolai Lifanov lifanov at
Mon Dec 30 21:59:36 UTC 2013

Observing woes of Opera, VirtualBox, and the like, there needs to be a
port that just includes libstdc++ from lang/gcc46 or compatible in a way
that doesn't conflict with gcc.

It's common in Linux land (and pkgsrc) to have a gcc-libs package, so I
propose something along these lines. This also allows for more liberal
use, since libstdc++ carries a Runtime Library Exception license.

How about something along the lines of this?

PORTNAME=       libstdc++46
CATEGORIES=     misc
COMMENT=        GCC 4.6 C++ runtime library

.if !defined(ARCH)
ARCH!=          uname -p

.if ${ARCH} == i386
DIST_SUBDIR=    freebsd:${OSREL:C/\..*//}:x86:32

.if ${ARCH} == amd64
DIST_SUBDIR=    freebsd:${OSREL:C/\..*//}:x86:64

LICENSE_TEXT=   GPLv3 with Runtime Library Exception

ONLY_FOR_ARCHS= amd64 i386

NO_BUILD=       yes

.....actually installing that one file......

This could also be a slave of lang/gcc46 or something else entirely.

- Nikolai Lifanov

More information about the freebsd-ports mailing list