Date: Sun, 24 Mar 2013 14:19:45 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315122 - head/www/mysar Message-ID: <201303241419.r2OEJjMG098261@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Sun Mar 24 14:19:44 2013 New Revision: 315122 URL: http://svnweb.freebsd.org/changeset/ports/315122 Log: - Fix REINPLACE expressions to put correct path to php executable in scripts - Remove deprecated mktime() usages from php files - Fix build with clang by using USE_CSTD=gnu89 - While here I trim Makefile headers - Also remove a REINPLACE expression which is not needed anymore - Bumped PORTREVISION PR: ports/176336 Submitted by: Myself Approved by: Maintainer timeout (30 days) Modified: head/www/mysar/Makefile (contents, props changed) Modified: head/www/mysar/Makefile ============================================================================== --- head/www/mysar/Makefile Sun Mar 24 14:19:01 2013 (r315121) +++ head/www/mysar/Makefile Sun Mar 24 14:19:44 2013 (r315122) @@ -1,14 +1,9 @@ -# -# ports collection makefile for: mysar -# Whom: Edwin Groothuis <edwin@mavetju.org> -# Date created: 2006-01-10 -# +# Created by: Edwin Groothuis <edwin@mavetju.org> # $FreeBSD$ -# PORTNAME= mySAR PORTVERSION= 2.1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= SF DISTNAME= ${PORTNAME:L}-${PORTVERSION} @@ -23,6 +18,7 @@ WRKSRC= ${WRKROOT}/bin/mysar-binary-imp GNU_CONFIGURE= yes USE_MYSQL= yes USE_PHP= mysql pcre +USE_CSTD= gnu89 CONFIGURE_ARGS= --with-mysql-lib=${LOCALBASE} @@ -46,10 +42,8 @@ post-patch: ${WRKROOT}/etc/mysar.apache ${REINPLACE_CMD} \ - -e 's,%%MYSARDIR%%,${MYSARDIR},g' \ - `find ${WRKROOT}/etc -type f` - ${REINPLACE_CMD} \ - -e 's,%%PHP%%,${LOCALBASE}/bin/php,g' \ + -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g' \ + -e 's,\([=,. ]\)mktime(),\1time(),g' \ `find ${WRKROOT}/bin -type f` ${REINPLACE_CMD} \ -e 's,/bin/sh,${LOCALBASE}/bin/bash,g' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303241419.r2OEJjMG098261>