Pass -DCMAKE_BUILD_TYPE=Release to have a proper release.cmake file instead

of the noconfig one.

I wonder if at one point this should go into the cmake MODULE as a default...
This commit is contained in:
ajacoutot 2014-10-20 15:57:12 +00:00
parent 659f189fcc
commit 803c1dbd8e
4 changed files with 12 additions and 9 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2013/03/11 11:37:55 espie Exp $
# $OpenBSD: Makefile,v 1.4 2014/10/20 15:57:12 ajacoutot Exp $
COMMENT = Qt wrapper for Zeitgeist, event logging framework
V = 0.8.0
DISTNAME = libqzeitgeist-${V}
REVISION = 0
SHARED_LIBS = qzeitgeist 0.0
@ -36,6 +37,8 @@ NO_TEST = Yes
MODPY_ADJ_FILES = scripts/onto2cpp.py
MODPY_RUNDEP = No
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/qzeitgeist
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/qzeitgeist

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/30 09:51:05 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2014/10/20 15:57:12 ajacoutot Exp $
@conflict QtZeitgeist-*
include/QZeitgeist/
include/QZeitgeist/DataModel/
@ -26,11 +26,10 @@ include/QZeitgeist/monitor.h
include/QZeitgeist/qzeitgeist.h
include/QZeitgeist/qzeitgeist_version.h
include/QZeitgeist/refreshjob.h
lib/cmake/
lib/cmake/QZeitgeist/
lib/cmake/QZeitgeist/QZeitgeistConfig.cmake
lib/cmake/QZeitgeist/QZeitgeistConfigVersion.cmake
lib/cmake/QZeitgeist/QZeitgeistExport-noconfig.cmake
lib/cmake/QZeitgeist/QZeitgeistExport-release.cmake
lib/cmake/QZeitgeist/QZeitgeistExport.cmake
@lib lib/libqzeitgeist.so.${LIBqzeitgeist_VERSION}
lib/pkgconfig/QZeitgeist.pc

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2014/08/30 09:02:23 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2014/10/20 15:57:12 ajacoutot Exp $
SHARED_ONLY= Yes
@ -7,6 +7,7 @@ COMMENT= PolicyKit authentication agent for for Qt4
V= 0.112.0
DISTNAME= polkit-qt-1-${V}
PKGNAME= polkit-qt4-${V}
REVISION= 0
SHARED_LIBS += polkit-qt-agent-1 2.0 # 0.99
SHARED_LIBS += polkit-qt-core-1 2.0 # 0.99
@ -38,7 +39,8 @@ LIB_DEPENDS= sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
CONFIGURE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
CONFIGURE_ARGS= -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
-DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2014/08/30 09:02:23 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.5 2014/10/20 15:57:12 ajacoutot Exp $
include/polkit-qt-1/
include/polkit-qt-1/PolkitQt1/
include/polkit-qt-1/PolkitQt1/ActionDescription
@ -27,11 +27,10 @@ include/polkit-qt-1/polkitqt1-identity.h
include/polkit-qt-1/polkitqt1-subject.h
include/polkit-qt-1/polkitqt1-temporaryauthorization.h
include/polkit-qt-1/polkitqt1-version.h
lib/cmake/
lib/cmake/PolkitQt-1/
lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake
lib/cmake/PolkitQt-1/PolkitQt-1ConfigVersion.cmake
lib/cmake/PolkitQt-1/PolkitQt-1Targets-noconfig.cmake
lib/cmake/PolkitQt-1/PolkitQt-1Targets-release.cmake
lib/cmake/PolkitQt-1/PolkitQt-1Targets.cmake
@lib lib/libpolkit-qt-agent-1.so.${LIBpolkit-qt-agent-1_VERSION}
@lib lib/libpolkit-qt-core-1.so.${LIBpolkit-qt-core-1_VERSION}