ports/devel/concurrencykit/files/patch-configure
Piotr Kubaj d5f601fc74 devel/concurrencykit: fix build on powerpc64le
Add powerpc64le architecture support.
2020-10-01 21:55:37 +00:00

22 lines
496 B
Text

--- configure.orig 2020-10-01 21:52:28 UTC
+++ configure
@@ -464,7 +464,7 @@ case $PLATFORM in
;;
esac
;;
- "ppc64"|"ppc64le"|"powerpc64")
+ "ppc64"|"ppc64le"|"powerpc64"|"powerpc64le")
RTM_ENABLE="CK_MD_RTM_DISABLE"
LSE_ENABLE="CK_MD_LSE_DISABLE"
MM="${MM:-"CK_MD_RMO"}"
@@ -522,6 +522,10 @@ pathsearch()
what=$1
oldFS="$IFS"
IFS=":"
+ if test -x "$what" ; then
+ echo "$what";
+ return
+ fi
for d in $PATH ; do
if test -x "$d/$what" ; then
echo "$d/$what";