|
Lines 1-5
Link Here
|
| 1 |
PORTNAME= sope |
1 |
PORTNAME= sope |
| 2 |
PORTVERSION= 5.7.1 |
2 |
PORTVERSION= 5.8.0 |
| 3 |
CATEGORIES= devel gnustep |
3 |
CATEGORIES= devel gnustep |
| 4 |
MASTER_SITES= https://packages.sogo.nu/sources/ |
4 |
MASTER_SITES= https://packages.sogo.nu/sources/ |
| 5 |
DISTNAME= SOPE-${PORTVERSION} |
5 |
DISTNAME= SOPE-${PORTVERSION} |
|
Lines 15-20
BROKEN_aarch64= fails to build: bundle.make:301: STXSaxDriver.sax/Resources/Inf
Link Here
|
| 15 |
LIB_DEPENDS= libxml2.so:textproc/libxml2 \ |
15 |
LIB_DEPENDS= libxml2.so:textproc/libxml2 \ |
| 16 |
libmemcached.so:databases/libmemcached |
16 |
libmemcached.so:databases/libmemcached |
| 17 |
|
17 |
|
|
|
18 |
USES= gmake iconv gnustep ssl |
| 19 |
USE_GNUSTEP= base build |
| 20 |
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} |
| 21 |
|
| 22 |
CONFIGURE_ARGS= --with-gnustep --disable-debug --disable-strip |
| 23 |
CONFIGURE_ENV+= CC="${CC}" |
| 24 |
|
| 25 |
LLD_UNSAFE= yes # PR 230608 |
| 26 |
|
| 27 |
CONFLICTS= sope2 |
| 28 |
|
| 29 |
SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ |
| 30 |
GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} |
| 31 |
|
| 18 |
WRKSRC= ${WRKDIR}/SOPE |
32 |
WRKSRC= ${WRKDIR}/SOPE |
| 19 |
|
33 |
|
| 20 |
OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED |
34 |
OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED |
|
Lines 22-48
OPTIONS_DEFAULT= LDAP PGSQL MEMCACHED
Link Here
|
| 22 |
OPTIONS_SUB= yes |
36 |
OPTIONS_SUB= yes |
| 23 |
|
37 |
|
| 24 |
LDAP_DESC= Build with LDAP support |
38 |
LDAP_DESC= Build with LDAP support |
|
|
39 |
MEMCACHED_DESC= Install memcached |
| 25 |
MYSQL_DESC= Build with MySQL support |
40 |
MYSQL_DESC= Build with MySQL support |
| 26 |
PGSQL_DESC= Build with PostgreSQL support |
41 |
PGSQL_DESC= Build with PostgreSQL support |
| 27 |
MEMCACHED_DESC= Install memcached |
|
|
| 28 |
|
| 29 |
USES= gmake iconv gnustep |
| 30 |
USE_GNUSTEP= base build |
| 31 |
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} |
| 32 |
LLD_UNSAFE= yes # PR 230608 |
| 33 |
|
| 34 |
CONFLICTS= sope2 sope4 |
| 35 |
|
| 36 |
SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ |
| 37 |
GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} |
| 38 |
|
| 39 |
CONFIGURE_ARGS= --with-gnustep --disable-debug --disable-strip |
| 40 |
CONFIGURE_ENV+= CC="${CC}" |
| 41 |
|
42 |
|
| 42 |
LDAP_USE= OPENLDAP=client |
43 |
LDAP_USE= OPENLDAP=client |
| 43 |
PGSQL_USES= pgsql |
|
|
| 44 |
MYSQL_USES= mysql |
| 45 |
MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached |
44 |
MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached |
|
|
45 |
MYSQL_USES= mysql |
| 46 |
PGSQL_USES= pgsql |
| 46 |
|
47 |
|
| 47 |
post-patch: |
48 |
post-patch: |
| 48 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure |
49 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure |
|
Lines 51-62
post-patch:
Link Here
|
| 51 |
post-patch-LDAP-off: |
52 |
post-patch-LDAP-off: |
| 52 |
@${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure |
53 |
@${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure |
| 53 |
|
54 |
|
| 54 |
post-patch-PGSQL-off: |
|
|
| 55 |
@${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure |
| 56 |
|
| 57 |
post-patch-MYSQL-off: |
55 |
post-patch-MYSQL-off: |
| 58 |
@${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure |
56 |
@${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure |
| 59 |
|
57 |
|
|
|
58 |
post-patch-PGSQL-off: |
| 59 |
@${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure |
| 60 |
|
| 60 |
do-configure: |
61 |
do-configure: |
| 61 |
cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} |
62 |
cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} |
| 62 |
|
63 |
|