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>
This commit is contained in:
Philip Prindeville 2017-01-06 15:39:36 -07:00
parent 811595c848
commit 028ad67a5a
1 changed files with 5 additions and 1 deletions

View File

@ -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