freebsd-ports/net/qoauth-qt5/files/patch-src_pcfile.sh
Raphael Kubo da Costa 726a3dff29 New port: net/qoauth-qt5.
This is the Qt5 version of net/qoauth. The port was originally created by
fluffy@ in our area51 repository, and later worked on by tcberner@.

QOAuth is an attempt to support interaction with OAuth-powered network services
in a Qt way.

WWW: https://github.com/ayoy/qoauth
2017-03-28 10:49:48 +00: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