Browse Source

clearsilver: fixed to install perl modules into vendor directory (see note!)

Note:

According to http://search.cpan.org/dist/perl/INSTALL#Installation_Directories
this is the right place for distributions which build binary packages of perl
add-on modules.
stable/0.2
Christian Wiese 14 years ago
parent
commit
22e31975fa
  1. 31
      develop/clearsilver/clearsilver-0.10.5-perl-build-options.patch
  2. 3
      develop/clearsilver/clearsilver.conf

31
develop/clearsilver/clearsilver-0.10.5-perl-build-options.patch

@ -0,0 +1,31 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../clearsilver/clearsilver-0.10.5-perl-build-options.patch
# Copyright (C) 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Description: Add PERL_BUILD_OPTIONS variable
This can be handy to inject custom options for building the perl bindings.
--- clearsilver-0.10.5/Makefile.orig 2011-05-18 17:50:29.716002345 +0200
+++ clearsilver-0.10.5/Makefile 2011-05-18 17:52:42.772002343 +0200
@@ -29,7 +29,7 @@
@for mdir in $(SUBDIRS); do \
if test -d $$mdir; then \
if test -f $$mdir/Makefile.PL -a ! -f $$mdir/Makefile; then \
- cd $$mdir; $(PERL) Makefile.PL PREFIX=$(prefix); cd ..; \
+ cd $$mdir; $(PERL) Makefile.PL PREFIX=$(prefix) $(PERL_BUILD_OPTIONS); cd ..; \
fi; \
$(MAKE) -C $$mdir PREFIX=$(prefix); \
fi; \

3
develop/clearsilver/clearsilver.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../clearsilver/clearsilver.conf # Filename: package/.../clearsilver/clearsilver.conf
# Copyright (C) 2006 - 2007 The OpenSDE Project # Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
@ -39,6 +39,7 @@ fi
# perl module # perl module
if pkginstalled perl; then if pkginstalled perl; then
var_append extraconfopt " " "--enable-perl" var_append extraconfopt " " "--enable-perl"
var_append makeopt " " "PERL_BUILD_OPTIONS='INSTALLDIRS=vendor'"
else else
var_append extraconfopt " " "--disable-perl" var_append extraconfopt " " "--disable-perl"
fi fi

Loading…
Cancel
Save