commit 028ad67a5a1e5f100db194083cdeca50205121c7
parent 811595c8488405fb62ae718a4fca7b99a27756df
Author: Philip Prindeville <philipp@redfish-solutions.com>
Date: Fri, 6 Jan 2017 15:39:36 -0700
perl-cgi: disable comment stripping which damages module
The macro perlmod/Install does comment stripping which gets confused by
the line:
in several files in this module, incorrectly deleting it as a comment.
It's not: it's the closure of a "= q/" literal.
See PR #3740 as this is a prerequisite.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lang/perl-cgi/Makefile b/lang/perl-cgi/Makefile
@@ -16,10 +16,14 @@ PKG_SOURCE:=CGI-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=15e63942c02354426b25f056f2a4467c
PKG_LICENSE:=GPL Artistic-2.0
-PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
+PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>, \
+ Philip Prindeville <philipp@redfish-solutions.com>
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/CGI-$(PKG_VERSION)
+# don't strip comments because that will mangle this module
+PKG_LEAVE_COMMENTS:=1
+
include $(INCLUDE_DIR)/package.mk
include ../perl/perlmod.mk