ports/sysutils/cbsd/files/patch-bin_cbsdsh_Makefile
Mateusz Piotrowski 864866c05d sysutils/cbsd: Fix build on mips, mips64, powerpc64.
This port unconditionally links against libc++. This needs to be removed
to build on architectures that don't have libc++.

PR:		231789
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Approved by:	olevole@olevole.ru (maintainer), mat (mentor)
Sponsored by:	IntegriCloud (hardware)
Differential Revision:	https://reviews.freebsd.org/D17352
2018-10-01 14:22:37 +00:00

11 lines
530 B
Text

--- bin/cbsdsh/Makefile.orig 2018-09-28 16:10:13 UTC
+++ bin/cbsdsh/Makefile
@@ -21,7 +21,7 @@ NOMAN= yes
DPADD= ${LIBEDIT} ${LIBTERMCAP}
#LDADD= -ledit -ltermcap -lsqlite3 -lm -pthread -ljail
-LDADD= -ledit -ltermcap -lm -pthread -ljail `pkg-config sqlite3 --libs` -lm -lc++
+LDADD= -ledit -ltermcap -lm -pthread -ljail `pkg-config sqlite3 --libs` -lm
#CFLAGS+=-DSHELL -I. -I${.CURDIR} -DCBSD -I/usr/local/include -L/usr/lib -L/usr/local/lib
CFLAGS+=-DSHELL -I. -I${.CURDIR} -DCBSD -I/usr/local/include -L/usr/local/lib