Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2012 21:51:04 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307035 - head/mail/squirrelmail
Message-ID:  <201211052151.qA5Lp4x7094994@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Nov  5 21:51:04 2012
New Revision: 307035
URL: http://svnweb.freebsd.org/changeset/ports/307035

Log:
  Make sure plugins use the same php version as the main squirrelmail
  port. This is an issue for packages, where dependencies are computed
  before other dependencies are installed.
  
  While we're at it, remove the vestigial WITHOUT_WWWDIR thing. I'm
  just assuming noone uses it, and if you do, then you can set
  SQUIRRELDIR= as noted in the file---this is the same setting used in
  the main squirrelmail port.
  
  Feature safe:	yes

Modified:
  head/mail/squirrelmail/bsd.squirrelmail.mk

Modified: head/mail/squirrelmail/bsd.squirrelmail.mk
==============================================================================
--- head/mail/squirrelmail/bsd.squirrelmail.mk	Mon Nov  5 21:41:07 2012	(r307034)
+++ head/mail/squirrelmail/bsd.squirrelmail.mk	Mon Nov  5 21:51:04 2012	(r307035)
@@ -26,30 +26,24 @@ RUN_DEPENDS+=	${SQUIRRELDIR}/plugins/com
 .endif
 
 NO_BUILD=		yes
-NO_WRKSUBDIR=		yes
+NO_WRKSUBDIR=	yes
 USE_PHP?=		yes
-WANT_PHP_WEB=		yes
+WANT_PHP_WEB=	yes
 
-SQUIRREL_PLUGIN_NAME?=   ${PORTNAME}
+IGNORE_WITH_PHP=5 # known incompatibilities with php-5.4, use 5.3 for now
+DEFAULT_PHP_VER=53
 
-.ifdef SQUIRRELDIR
-PLIST_SUB+=     SQUIRRELDIR=${SQUIRRELDIR}
-SUB_LIST+=      SQUIRRELDIR=${SQUIRRELDIR}
-.else
-.ifndef WITHOUT_WWWDIR
-SQUIRRELDIR=    ${PREFIX}/www/squirrelmail
-PLIST_SUB+=     SQUIRRELDIR=www/squirrelmail
-SUB_LIST+=      SQUIRRELDIR=www/squirrelmail
-.else
-SQUIRRELDIR=    ${PREFIX}/squirrelmail
-PLIST_SUB+=     SQUIRRELDIR=squirrelmail
-SUB_LIST+=      SQUIRRELDIR=squirrelmail
-.endif
-.endif
+SQUIRREL_PLUGIN_NAME?=   ${PORTNAME}
 PLIST_SUB+=     SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
+SUB_LIST+=		SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
+
+# As with mail/squirreldir, if you were using WITHOUT_WWWDIR=yes,
+# set SQUIRRELDIR=${PREFIX}/squirrelmail
+SQUIRRELDIR?=	${PREFIX}/www/squirrelmail
+PLIST_SUB+=		SQUIRRELDIR=${SQUIRRELDIR}
+SUB_LIST+=		SQUIRRELDIR=${SQUIRRELDIR}
 
 .if exists(${FILESDIR}/pkg-message.in)
-SUB_LIST+=	SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
 SUB_FILES=	pkg-message
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211052151.qA5Lp4x7094994>