View | Details | Raw Unified | Return to bug 193200 | Differences between
and this patch

Collapse All | Expand All

(-)www/suphp/Makefile (-3 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	suphp
4
PORTNAME=	suphp
5
PORTVERSION=	0.7.2
5
PORTVERSION=	0.7.2
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	www
7
CATEGORIES=	www
8
MASTER_SITES=	http://www.suphp.org/download/ \
8
MASTER_SITES=	http://www.suphp.org/download/ \
9
		LOCAL/bdrewery/${PORTNAME}/ \
9
		LOCAL/bdrewery/${PORTNAME}/ \
Lines 16-22 Link Here
16
USES=		autoreconf libtool
16
USES=		autoreconf libtool
17
SUB_FILES=	pkg-message
17
SUB_FILES=	pkg-message
18
18
19
USE_APACHE=	22
19
USE_APACHE=	22+
20
CFLAGS+=	-I${LOCALBASE}/include
20
CFLAGS+=	-I${LOCALBASE}/include
21
USE_CSTD=	gnu89
21
USE_CSTD=	gnu89
22
USE_PHP=	yes
22
USE_PHP=	yes
Lines 28-34 Link Here
28
		CONFIG LICENSE \
28
		CONFIG LICENSE \
29
		INSTALL README
29
		INSTALL README
30
30
31
CONFIGURE_ARGS=	CFLAGS="${CFLAGS}" --with-apxs=${APXS}
31
CONFIGURE_ARGS=	CFLAGS="${CFLAGS} -I`${LOCALBASE}/bin/apr-1-config --includedir`" --with-apxs=${APXS}
32
32
33
# WITH_SETID_MODE should be a value of "owner", "force", or "paranoid".
33
# WITH_SETID_MODE should be a value of "owner", "force", or "paranoid".
34
# It's important that you understand the differences between each mode.
34
# It's important that you understand the differences between each mode.
(-)www/suphp/files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2014-11-18 23:22:05.349376076 +0000
2
+++ configure	2014-11-18 23:22:18.026375597 +0000
3
@@ -15343,7 +15343,7 @@
4
                     | cut -f2 -d"/" \
5
                     | cut -f1 -d" "`
6
     major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`
7
-    if test "$major_version" = "2.0" -o "$major_version" = "2.2"; then
8
+    if test "$major_version" = "2.0" -o "$major_version" = "2.2" -o "$major_version" = "2.4"; then
9
       APACHE_VERSION_2=true
10
       APACHE_VERSION_1_3=false
11
     else
(-)www/suphp/files/patch-configure.ac (+11 lines)
Line 0 Link Here
1
--- configure.ac.orig	2014-11-18 23:23:58.015368295 +0000
2
+++ configure.ac	2014-11-18 23:24:09.983367824 +0000
3
@@ -66,7 +66,7 @@
4
                     | cut -f2 -d"/" \
5
                     | cut -f1 -d" "`
6
     major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`
7
-    if test "$major_version" = "2.0" -o "$major_version" = "2.2"; then
8
+    if test "$major_version" = "2.0" -o "$major_version" = "2.2" -o "$major_version" = "2.4"; then
9
       APACHE_VERSION_2=true
10
       APACHE_VERSION_1_3=false
11
     else

Return to bug 193200