aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2015-02-13 17:59:11 +0800
committerale <ale@FreeBSD.org>2015-02-13 17:59:11 +0800
commit96befdcd36e3ab436eb7c327eb67dc59f900f4fa (patch)
treeca3a446c1a646692761df04541a7b7740edf0e07 /security
parent1b392963c49297656e170d49e7d93520de7e80ab (diff)
downloadfreebsd-ports-gnome-96befdcd36e3ab436eb7c327eb67dc59f900f4fa.tar.gz
freebsd-ports-gnome-96befdcd36e3ab436eb7c327eb67dc59f900f4fa.tar.zst
freebsd-ports-gnome-96befdcd36e3ab436eb7c327eb67dc59f900f4fa.zip
Fix php-session dependency and remove plist.
PR: 197751 Submitted by: garga
Diffstat (limited to 'security')
-rw-r--r--security/php-suhosin/Makefile4
-rw-r--r--security/php-suhosin/pkg-plist2
2 files changed, 4 insertions, 2 deletions
diff --git a/security/php-suhosin/Makefile b/security/php-suhosin/Makefile
index e81de3bc6e0e..40392bd556ca 100644
--- a/security/php-suhosin/Makefile
+++ b/security/php-suhosin/Makefile
@@ -3,6 +3,7 @@
PORTNAME= suhosin
PORTVERSION= 0.9.37.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://download.suhosin.org/
PKGNAMEPREFIX= php-
@@ -16,9 +17,12 @@ OPTIONS_DEFINE= EXAMPLES
USE_PHP= session
USE_PHPEXT= yes
+USE_PHP_BUILD= yes
CONFIGURE_ARGS= --enable-suhosin
+PORTEXAMPLES= suhosin.ini
+
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/suhosin.ini ${STAGEDIR}${EXAMPLESDIR}
diff --git a/security/php-suhosin/pkg-plist b/security/php-suhosin/pkg-plist
deleted file mode 100644
index 62a53beca140..000000000000
--- a/security/php-suhosin/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-%%EXAMPLESDIR%%/suhosin.ini
-@dirrm %%EXAMPLESDIR%%