opnsense-ports/devel/libbfd/files/patch-configure
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
370 B
Text

--- configure.orig
+++ configure
@@ -19503,7 +19503,7 @@ case "${host}" in
WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
fi
;;
-*-*-linux*)
+*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`