Index: head/devel/sope2/Makefile =================================================================== --- head/devel/sope2/Makefile (revision 426221) +++ head/devel/sope2/Makefile (revision 426222) @@ -1,56 +1,58 @@ # Created by: Euan Thoms # $FreeBSD$ PORTNAME= sope2 -PORTVERSION= 2.3.13 -PORTREVISION= 1 +PORTVERSION= 2.3.17 CATEGORIES= devel gnustep MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/ DISTNAME= SOPE-${PORTVERSION} MAINTAINER= euan@potensol.com COMMENT= Extensive set of GNUstep web application frameworks LICENSE= LGPL20 LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libmemcached.so:databases/libmemcached WRKSRC= ${WRKDIR}/SOPE OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED OPTIONS_DEFAULT= LDAP PGSQL MEMCACHED OPTIONS_SUB= yes LDAP_DESC= Build with LDAP support MYSQL_DESC= Build with MySQL support PGSQL_DESC= Build with PostgreSQL support MEMCACHED_DESC= Install memcached USES= gmake iconv gnustep USE_GNUSTEP= base build USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} CONFIGURE_ARGS= --with-gnustep --disable-debug --enable-strip LDAP_USE= OPENLDAP=client PGSQL_USES= pgsql MYSQL_USE= MYSQL=client MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached + +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure post-patch-LDAP-off: @${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure post-patch-PGSQL-off: @${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure post-patch-MYSQL-off: @${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure do-configure: cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} .include Index: head/devel/sope2/distinfo =================================================================== --- head/devel/sope2/distinfo (revision 426221) +++ head/devel/sope2/distinfo (revision 426222) @@ -1,3 +1,3 @@ -TIMESTAMP = 1468338940 -SHA256 (SOPE-2.3.13.tar.gz) = 6b1f3492af1e33a9d1eea818a297408deadc6559713eda71c08e54e62c3f376d -SIZE (SOPE-2.3.13.tar.gz) = 2278988 +TIMESTAMP = 1478673266 +SHA256 (SOPE-2.3.17.tar.gz) = 3547a37f44c1bac2484999828c766005f86335ff2249317b085d191882bde8c4 +SIZE (SOPE-2.3.17.tar.gz) = 2279816 Index: head/devel/sope2/files/patch-configure =================================================================== --- head/devel/sope2/files/patch-configure (revision 426221) +++ head/devel/sope2/files/patch-configure (revision 426222) @@ -1,25 +1,11 @@ ---- configure.orig 2015-09-16 18:26:48 UTC -+++ configure -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - # - # Note: When adding make options to this script, ensure that the source still -@@ -41,7 +41,7 @@ else +--- configure 2016-11-09 01:44:58.178493000 -0500 ++++ configure 2016-11-09 01:45:25.386129000 -0500 +@@ -45,7 +45,7 @@ fi # TODO: add pg_config, mysql_config etc! -LINK_SYSLIBDIRS="-L/usr/local/pgsql/lib -L/usr/local/lib -L/usr/lib" -+LINK_SYSLIBDIRS="-L${LOCALBASE}/lib/postgresql -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib -L/usr/lib" ++LINK_SYSLIBDIRS="-L%%LOCALBASE%%/lib/postgresql -L%%LOCALBASE%%/lib/mysql -L%%LOCALBASE%%/lib -L/usr/lib" # ******************** usage ******************** -@@ -396,6 +396,7 @@ genConfigMake() { - cfgwrite "debug:=no" - fi - cfgwrite "" -+ cfgwrite "NEEDS_GUI=no" - - if test $ARG_WITH_STRIP = 1; then - cfgwrite "# configured to produce stripped code";