From 391433a4d7de3ee2ee7c1945717b776e31292d1d Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 28 May 2011 20:36:44 +0200 Subject: [PATCH] obexftp: fixed to install perl bindings into vendor directory --- .../obexftp-0.23-perl-vendor-install.patch | 27 +++++++++++++++++++ network/obexftp/obexftp.conf | 16 +++++++++++ 2 files changed, 43 insertions(+) create mode 100644 network/obexftp/obexftp-0.23-perl-vendor-install.patch create mode 100644 network/obexftp/obexftp.conf diff --git a/network/obexftp/obexftp-0.23-perl-vendor-install.patch b/network/obexftp/obexftp-0.23-perl-vendor-install.patch new file mode 100644 index 000000000..122802c9e --- /dev/null +++ b/network/obexftp/obexftp-0.23-perl-vendor-install.patch @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../obexftp/obexftp-0.23-perl-vendor-install.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 --- + +--- obexftp-0.23/swig/perl/Makefile.am.orig 2011-05-22 00:51:21.016002362 +0200 ++++ obexftp-0.23/swig/perl/Makefile.am 2011-05-22 00:52:28.740002361 +0200 +@@ -9,7 +9,7 @@ + endif + + Makefile.perl: Makefile.PL +- $(PERL) $< PREFIX=$(prefix) MAKEFILE=$@ ++ $(PERL) $< PREFIX=$(prefix) INSTALLDIRS=vendor MAKEFILE=$@ + + OBEXFTP.so: perl_wrap.c Makefile.perl + if test ! -f perl_wrap.c; then cp $(srcdir)/perl_wrap.c . ; fi diff --git a/network/obexftp/obexftp.conf b/network/obexftp/obexftp.conf new file mode 100644 index 000000000..7d5c91e44 --- /dev/null +++ b/network/obexftp/obexftp.conf @@ -0,0 +1,16 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../obexftp/obexftp.conf +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# we patch swig/perl/Makefile.am +hook_add preconf 9 'autoreconf -v --install'