Edit

IABSD.fr/ports/databases/kdb/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2021-02-23 19:39:08
    Hash : 3cbe1c2f
    Message : Reverse the polarity of MODPY_VERSION; default is now 3.x, if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.

  • databases/kdb/Makefile
  • # $OpenBSD: Makefile,v 1.9 2021/02/23 19:39:11 sthen Exp $
    
    COMMENT =	database connectivity and creation framework
    
    VERSION =	3.2.0
    DISTNAME =	kdb-${VERSION}
    REVISION =	1
    
    SHARED_LIBS +=  KDb3                      1.1 # 3.0
    
    CATEGORIES =	databases
    
    HOMEPAGE =	http://www.kexi-project.org/
    
    MAINTAINER =	Rafael Sadowski <rsadowski@openbsd.org>
    
    # GPLv2+, LGPLv2+ and GNU FDLv1.2
    PERMIT_PACKAGE =	Yes
    
    WANTLIB += ${COMPILER_LIBCXX} KF5CoreAddons Qt5Core Qt5Gui Qt5Network
    WANTLIB += Qt5Widgets Qt5Xml c icui18n icuuc m mariadb pq sqlite3
    
    MASTER_SITES =	${MASTER_SITE_KDE:=stable/kdb/src/}}
    EXTRACT_SUFX =	.tar.xz
    
    MODULES =		devel/cmake \
    			lang/python \
    			devel/kf5
    MODPY_VERSION =	${MODPY_DEFAULT_VERSION_2}
    
    MODPY_RUNDEP =		No
    
    BUILD_DEPENDS =		shells/bash \
    			devel/gettext,-tools \
    			databases/postgresql,-server
    
    LIB_DEPENDS =		devel/kf5/kcoreaddons \
    			databases/mariadb \
    			databases/postgresql \
    			databases/sqlite3 \
    			textproc/icu4c
    
    CONFIGURE_ARGS +=	-DBUILD_TESTING=On \
    			-DBUILD_EXAMPLES=On
    
    .include <bsd.port.mk>