diff options
author | tm <tm@pkgsrc.org> | 2022-01-26 22:37:05 +0000 |
---|---|---|
committer | tm <tm@pkgsrc.org> | 2022-01-26 22:37:05 +0000 |
commit | 80b857ddb67bf36c462d23de606382386f4f6176 (patch) | |
tree | 4ad0743bda00afd7c870e26103b45f8f265601b2 /devel | |
parent | e0554adcda34c5b4d0562d627836729cb2f7aa55 (diff) | |
download | pkgsrc-80b857ddb67bf36c462d23de606382386f4f6176.tar.gz |
devel/SOPE5: remove options and enable ldap, mysql-client, pg-client
options.mk are not supported because gnustep-make/-base set
PKG_OPTIONS_VAR to support the fragile option. Additional to that
SOGo5 requires ldap option by default.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SOPE5/Makefile | 14 | ||||
-rw-r--r-- | devel/SOPE5/options.mk | 38 |
2 files changed, 11 insertions, 41 deletions
diff --git a/devel/SOPE5/Makefile b/devel/SOPE5/Makefile index 44f2d1d42f4..5e9dd08ef5a 100644 --- a/devel/SOPE5/Makefile +++ b/devel/SOPE5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2022/01/26 16:41:45 tm Exp $ +# $NetBSD: Makefile,v 1.4 2022/01/26 22:37:05 tm Exp $ # DISTNAME= SOPE-5.5.0 @@ -18,8 +18,16 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS= --with-gnustep --enable-debug --disable-strip -.include "../../devel/gnustep-make/gnustep.mk" -.include "options.mk" +# options.mk are not supported because gnustep-make/-base set +# PKG_OPTIONS_VAR to support the fragile option. +.include "../../mk/mysql.buildlink3.mk" +.include "../../mk/pgsql.buildlink3.mk" +.include "../../databases/openldap-client/buildlink3.mk" + +pre-configure: + ${TEST} -e ${BUILDLINK_DIR}/lib/libmysqlclient.so || \ + ${LN} -s ${BUILDLINK_DIR}/lib/mysql/libmysqlclient.so \ + ${BUILDLINK_DIR}/lib/libmysqlclient.so .include "../../devel/gnustep-make/buildlink3.mk" .include "../../devel/gnustep-base/buildlink3.mk" diff --git a/devel/SOPE5/options.mk b/devel/SOPE5/options.mk deleted file mode 100644 index 957cf8bea77..00000000000 --- a/devel/SOPE5/options.mk +++ /dev/null @@ -1,38 +0,0 @@ -# $NetBSD: options.mk,v 1.2 2022/01/26 16:41:45 tm Exp $ - -PKG_OPTIONS_VAR= PKG_OPTIONS.SOPE - -PKG_SUPPORTED_OPTIONS= ldap -PKG_OPTIONS_REQUIRED_GROUPS= database -PKG_OPTIONS_GROUP.database= mysql pgsql - -PKG_SUGGESTED_OPTIONS= ldap pgsql - -.include "../../mk/bsd.options.mk" - -PLIST_VARS+= pgsql mysql ldap - -.if !empty(PKG_OPTIONS:Mmysql) -pre-configure: - ${TEST} -e ${BUILDLINK_DIR}/lib/libmysqlclient.so || \ - ${LN} -s ${BUILDLINK_DIR}/lib/mysql/libmysqlclient.so \ - ${BUILDLINK_DIR}/lib/libmysqlclient.so -.include "../../mk/mysql.buildlink3.mk" -PLIST.mysql= yes -.else -CONFIGURE_ARGS+= --disable-mysql -.endif - -.if !empty(PKG_OPTIONS:Mpgsql) -.include "../../mk/pgsql.buildlink3.mk" -PLIST.pgsql= yes -.else -CONFIGURE_ARGS+= --disable-postgresql -.endif - -.if !empty(PKG_OPTIONS:Mldap) -.include "../../databases/openldap-client/buildlink3.mk" -PLIST.ldap= yes -.else -CONFIGURE_ARGS+= --disable-openldap -.endif |