All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francois Perrad <fperrad@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/6] perl: remove useless hacks
Date: Tue, 19 Aug 2014 20:07:14 +0200	[thread overview]
Message-ID: <1408471638-4551-2-git-send-email-francois.perrad@gadz.org> (raw)
In-Reply-To: <1408471638-4551-1-git-send-email-francois.perrad@gadz.org>

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .../perl-gdgraph-01-fix-Makefile-PL.patch          | 24 ----------------------
 package/perl/perl.mk                               | 22 --------------------
 2 files changed, 46 deletions(-)
 delete mode 100644 package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch

diff --git a/package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch b/package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch
deleted file mode 100644
index e95a64e..0000000
--- a/package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-partial revert to 1.47 in order to work with an old perl 5.10.1
-
-With old ExtUtils::MakeMaker, AUTHOR takes a string/number not a ARRAY reference.
-See http://api.metacpan.org/source/RUZ/GDGraph-1.48/CHANGES
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-
-Index: b/Makefile.PL
-===================================================================
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -19,11 +19,7 @@
- 
-         ($] >= 5.005 ?
-             ('ABSTRACT'	    => 'Produces charts with GD',
--             'AUTHOR'       => [
--                 'Martien Verbruggen <mgjv@tradingpost.com.au>',
--                 'Benjamin Warfield <bwarfield@cpan.org>',
--                 'Ruslan Zakirov <Ruslan.Zakirov@gmail.com>',
--            ]
-+             'AUTHOR'	    => 'Martien Verbruggen <mgjv@tradingpost.com.au>',
-             ):()
-         ),
- 
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 78b77d8..8a3b047 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -99,28 +99,6 @@ define PERL_INSTALL_TARGET_CMDS
 	$(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl
 endef
 
-# perl infra: fix for Perl XS packages configured by Makefile.PL
-#
-# ExtUtils::MakeMaker adds all the header files used by the perl as
-# dependencies to the generated Makefile. This means that the generated
-# Makefile will depend on the system's header files.
-#
-# Usually this is not a problem, because when building the target package,
-# these header files will indeed be found in $(STAGING_DIR). However, some
-# distro's add an extra header file to the system's perl. This header is
-# also included in the generated Makefile, which makes the build fail
-# because it doesn't exist in $(STAGING_DIR).
-#
-# As a work-around, explicitly create this header file in $(STAGING_DIR).
-# It doesn't hurt to create it even if the system perl doesn't need it.
-#
-define PERL_ADD_CORE_H
-	touch $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE/patchlevel-debian.h
-	touch $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE/cc_runtime.h
-endef
-
-PERL_POST_INSTALL_STAGING_HOOKS += PERL_ADD_CORE_H
-
 HOST_PERL_CONF_OPT = \
 	-des \
 	-Dprefix="$(HOST_DIR)/usr" \
-- 
1.9.1

  reply	other threads:[~2014-08-19 18:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 18:07 [Buildroot] [PATCH 1/6] perl: add host variant Francois Perrad
2014-08-19 18:07 ` Francois Perrad [this message]
2014-08-19 18:07 ` [Buildroot] [PATCH 3/6] pkg-perl: refactor with host-perl Francois Perrad
2014-08-19 18:07 ` [Buildroot] [PATCH 4/6] pkg-perl: add host-perl dependency Francois Perrad
2014-08-19 18:07 ` [Buildroot] [PATCH 5/6] intltool: refactor with host-perl Francois Perrad
2014-08-20 12:21   ` Thomas Petazzoni
2014-08-20 16:45     ` François Perrad
2014-10-06 15:37       ` Thomas Petazzoni
2014-10-06 17:37         ` [Buildroot] [UNSURE]Re: " François Perrad
2014-08-19 18:07 ` [Buildroot] [PATCH 6/6] metacity: " Francois Perrad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408471638-4551-2-git-send-email-francois.perrad@gadz.org \
    --to=fperrad@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.