opnsense-ports/net/qoauth-qt5/files/patch-src_pcfile.sh
Franco Fichtner c4c1b34be7 */*: sync with upstream
Taken from: FreeBSD
2017-03-29 07:50:20 +02:00

19 lines
531 B
Bash

--- src/pcfile.sh.orig 2016-11-28 17:52:39 UTC
+++ src/pcfile.sh
@@ -5,11 +5,11 @@
echo "prefix=$1
exec_prefix=\${prefix}
libdir=\${prefix}/lib
-includedir=\${prefix}/include/QtOAuth
+includedir=\${prefix}/include/QtOAuth-qt5
-Name: QOAuth
+Name: QOAuth-qt5
Description: Qt OAuth support library
Version: $2
-Requires: QtCore QtNetwork qca2
-Libs: -L\${libdir} -lqoauth
-Cflags: -I\${includedir}" > qoauth.pc
+Requires: Qt5Core Qt5Network qca2-qt5
+Libs: -L\${libdir} -lqoauth-qt5
+Cflags: -I\${includedir}" > qoauth-qt5.pc