From 028ad67a5a1e5f100db194083cdeca50205121c7 Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Fri, 6 Jan 2017 15:39:36 -0700 Subject: [PATCH] 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 --- lang/perl-cgi/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang/perl-cgi/Makefile b/lang/perl-cgi/Makefile index 5fcffb1e6b..066bf41d76 100644 --- 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 +PKG_MAINTAINER:=Marcel Denia , \ + Philip Prindeville 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 -- 2.30.2