ports/www/trafficserver/files/patch-configure
Piotr Kubaj b4ec32c9c6 www/trafficserver: fix build on powerpc64
This port builds on amd64, but without luajit support since there's no luajit for powerpc64.

Also add USES=localbase instead of LIBS+= and remove unused CONFIGURE_ARGS.

Since files are installed to powerpc-freebsd-thread-multi directory, set proper PLIST_SUB and do-install target.

Don't add -L/usr/lib to LDFLAGS, it breaks when compiling with ports GCC.

PR:		243154
Approved by:	gaod@hychen.org (maintainer)
MFH:		2020Q1 (fix build blanket)
2020-01-20 20:17:40 +00:00

13 lines
465 B
Text

--- configure.orig 2020-01-03 10:44:56 UTC
+++ configure
@@ -23922,7 +23922,9 @@ $as_echo "$as_me: adding ${ssldir}/lib64 to RPATH" >&6
fi
else
- OPENSSL_LDFLAGS="-L$ssldir/lib"
+ if [ $ssldir != "/usr" ]; then
+ OPENSSL_LDFLAGS="-L$ssldir/lib"
+ fi
if test "$overriden_with_ssl"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: adding ${ssldir}/lib to RPATH" >&5