openbsd-ports/x11/qwt/patches/patch-examples_examples_pri

24 lines
615 B
Plaintext
Raw Normal View History

$OpenBSD: patch-examples_examples_pri,v 1.2 2010/11/07 00:26:14 merdely Exp $
--- examples/examples.pri.orig Sun Apr 11 05:55:06 2010
+++ examples/examples.pri Tue Oct 26 03:03:10 2010
@@ -9,8 +9,6 @@
QWT_ROOT = ../..
-include( $${QWT_ROOT}/qwtconfig.pri )
-
SUFFIX_STR =
VVERSION = $$[QT_VERSION]
isEmpty(VVERSION) {
@@ -35,8 +33,8 @@ else {
TEMPLATE = app
MOC_DIR = moc
-INCLUDEPATH += $${QWT_ROOT}/src
-DEPENDPATH += $${QWT_ROOT}/src
+INCLUDEPATH += ${PREFIX}/include
+DEPENDPATH += ${PREFIX}/lib
OBJECTS_DIR = obj$${SUFFIX_STR}
DESTDIR = $${QWT_ROOT}/examples/bin$${SUFFIX_STR}