mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
Fix for "make install"; logic in cgiwrap's autoconf file for --with-cgiwrapd
and --without-cgiwrapd is broken (always assumes cgiwrapd will be used). Will submit fix upstream. Reviewed by: philip Approved by: philip
This commit is contained in:
parent
c4668e479c
commit
ad56810122
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197778
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= cgiwrap
|
||||
PORTVERSION= 4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www security
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -103,11 +104,11 @@ CONFIGURE_ARGS+= --without-nph
|
||||
PLIST_SUB+= NPHFLAG=
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_DEBUG)
|
||||
PLIST_SUB+= DEBUGFLAG="@comment "
|
||||
CONFIGURE_ARGS+= --without-cgiwrapd
|
||||
.else
|
||||
.if defined(WITH_DEBUG)
|
||||
PLIST_SUB+= DEBUGFLAG=
|
||||
CONFIGURE_ARGS+= --with-cgiwrapd
|
||||
.else
|
||||
PLIST_SUB+= DEBUGFLAG="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
45
www/cgiwrap/files/patch-configure
Normal file
45
www/cgiwrap/files/patch-configure
Normal file
@ -0,0 +1,45 @@
|
||||
--- configure.old Wed Jan 24 09:29:16 2007
|
||||
+++ configure Wed Aug 15 11:19:50 2007
|
||||
@@ -1306,7 +1306,7 @@
|
||||
--with-install-dir=PATH
|
||||
path to installation directory
|
||||
--with-cgiwrapd
|
||||
- disable installation of cgiwrapd
|
||||
+ install cgiwrapd
|
||||
--without-nph
|
||||
disable installation of nph-cgiwrap
|
||||
--with-cgi-dir=PATH (public_html/cgi-bin)
|
||||
@@ -6323,20 +6323,25 @@
|
||||
|
||||
|
||||
|
||||
-{ echo "$as_me:$LINENO: checking for whether to disable cgiwrapd" >&5
|
||||
-echo $ECHO_N "checking for whether to disable cgiwrapd... $ECHO_C" >&6; }
|
||||
+{ echo "$as_me:$LINENO: checking for whether to install cgiwrapd" >&5
|
||||
+echo $ECHO_N "checking for whether to install cgiwrapd... $ECHO_C" >&6; }
|
||||
|
||||
# Check whether --with-cgiwrapd was given.
|
||||
if test "${with_cgiwrapd+set}" = set; then
|
||||
withval=$with_cgiwrapd;
|
||||
- { echo "$as_me:$LINENO: result: enabled" >&5
|
||||
-echo "${ECHO_T}enabled" >&6; }
|
||||
- DOINSTALLCGIWRAPD=""
|
||||
-
|
||||
+ if test x"$withval" != xno; then
|
||||
+ { echo "$as_me:$LINENO: result: yes" >&5
|
||||
+echo "${ECHO_T}yes" >&6; }
|
||||
+ DOINSTALLCGIWRAPD=""
|
||||
+ else
|
||||
+ { echo "$as_me:$LINENO: result: no" >&5
|
||||
+echo "${ECHO_T}no" >&6; }
|
||||
+ DOINSTALLCGIWRAPD="#"
|
||||
+ fi
|
||||
else
|
||||
|
||||
- { echo "$as_me:$LINENO: result: disabled" >&5
|
||||
-echo "${ECHO_T}disabled" >&6; }
|
||||
+ { echo "$as_me:$LINENO: result: no" >&5
|
||||
+echo "${ECHO_T}no" >&6; }
|
||||
DOINSTALLCGIWRAPD="#"
|
||||
|
||||
fi
|
Loading…
Reference in New Issue
Block a user