svn commit: r482613 - head/net-mgmt/klg
Matthias Fechner
mfechner at FreeBSD.org
Sat Oct 20 18:30:12 UTC 2018
Author: mfechner
Date: Sat Oct 20 18:30:11 2018
New Revision: 482613
URL: https://svnweb.freebsd.org/changeset/ports/482613
Log:
Fix build on PHP 7+.
Also fix dependancies on PHP 5.6 (mysqli not mysql for all PHP versions now).
Update Makefile to remove all portlint warnings.
Add flavour support.
PR: 227375
Submitted by: freebsd-ports at dan.me.uk
Reported by: freebsd-ports at dan.me.uk
Reviewed by: mfechner at FreeBSD.org
Approved by: mentors (implicit)
Modified:
head/net-mgmt/klg/Makefile
Modified: head/net-mgmt/klg/Makefile
==============================================================================
--- head/net-mgmt/klg/Makefile Sat Oct 20 18:17:09 2018 (r482612)
+++ head/net-mgmt/klg/Makefile Sat Oct 20 18:30:11 2018 (r482613)
@@ -2,30 +2,31 @@
PORTNAME= klg
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= net-mgmt www
MASTER_SITES= SF \
ftp://ftpmirror.uk/freebsd-ports/klg/
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= freebsd-ports at dan.me.uk
COMMENT= PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers
LICENSE= BSD3CLAUSE
-IGNORE_WITH_PHP= 70 71 72 73
+USES= tar:txz php:web,flavors mysql:client
+USE_PHP= mysqli pcre sockets xml
-USES= mysql tar:txz php:web
-USE_PHP= mysql pcre sockets xml
NO_ARCH= yes
NO_BUILD= yes
-PLIST_FILES= %%DATADIR%%/CREDITS \
- %%DATADIR%%/ChangeLog \
- %%DATADIR%%/klg_README.txt \
- %%DATADIR%%/klg_schema.sql \
- %%WWWDIR%%/klg.php \
- "@sample %%WWWDIR%%/klg_config.php.sample" \
- "@sample %%WWWDIR%%/klg_template.html.sample" \
- %%WWWDIR%%/klg_router_functions.php
+PLIST_FILES= ${DATADIR}/CREDITS \
+ ${DATADIR}/ChangeLog \
+ ${DATADIR}/klg_README.txt \
+ ${DATADIR}/klg_schema.sql \
+ ${WWWDIR}/klg.php \
+ "@sample ${WWWDIR}/klg_config.php.sample" \
+ "@sample ${WWWDIR}/klg_template.html.sample" \
+ ${WWWDIR}/klg_router_functions.php
SUB_FILES+= pkg-message
OPTIONS_DEFINE= SSH2
More information about the svn-ports-head
mailing list