aboutsummaryrefslogtreecommitdiff
path: root/www/cgiwrap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgiwrap/Makefile')
-rw-r--r--www/cgiwrap/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/cgiwrap/Makefile b/www/cgiwrap/Makefile
index d8eb4f90a4e7..951a53a14e03 100644
--- a/www/cgiwrap/Makefile
+++ b/www/cgiwrap/Makefile
@@ -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)