perl-cgi: disable comment stripping which damages module 3739/head
authorPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 6 Jan 2017 22:39:36 +0000 (15:39 -0700)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Wed, 11 Jan 2017 21:14:59 +0000 (14:14 -0700)
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>
lang/perl-cgi/Makefile

index 5fcffb1e6b4a5dfca5cb3a0109383efcdfc886e5..066bf41d76f87cd4c8cd112a7c4259231cf1d782 100644 (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