Take inspiration from debian and append -qt5 suffix to the library name for the qt5 FLAVOR. Split the common headers/manpages/doc into a separate subpackage, put the library/qt files in another subpackage that depende on the latter (and that doesnt conflict with 'the other flavor', and finally add the correct @conflict/@pkgpath markers for proper upgrade path. Most of the work done by rsadowski@, i just did the polishing with help from espie@ ok rsadowski@
12 lines
281 B
Plaintext
12 lines
281 B
Plaintext
$OpenBSD: patch-qwt_prf,v 1.1 2018/05/28 18:47:00 landry Exp $
|
|
|
|
Index: qwt.prf
|
|
--- qwt.prf.orig
|
|
+++ qwt.prf
|
|
@@ -34,4 +34,4 @@ else {
|
|
}
|
|
|
|
# QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
|
|
-qwtAddLibrary($${QWT_INSTALL_LIBS}, qwt)
|
|
+qwtAddLibrary($${QWT_INSTALL_LIBS}, qwt${QTLIBSUFFIX})
|