Package: pbs-drmaa
Version: 1.0.10-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary. This is because we need new libtool macros for
ppc64el. This also provides config.{sub,guess} updates for new arches.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf to get new libtool macros for ppc64el and update
    config.{sub,guess} for new arches.
  * Use automake's "foreign" option to fix FTBFS during autoreconf.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-6-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru pbs-drmaa-1.0.10/debian/control pbs-drmaa-1.0.10/debian/control
--- pbs-drmaa-1.0.10/debian/control	2012-04-22 18:56:20.000000000 -0400
+++ pbs-drmaa-1.0.10/debian/control	2014-02-04 15:56:08.000000000 -0500
@@ -1,7 +1,7 @@
 Source: pbs-drmaa
 Priority: optional
 Maintainer: Dominique Belhachemi <domi...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), bison, gperf, ragel, libtorque2-dev
+Build-Depends: debhelper (>= 7.0.50~), bison, gperf, ragel, libtorque2-dev, dh-autoreconf
 Standards-Version: 3.9.3
 Section: libs
 Homepage: http://sourceforge.net/projects/pbspro-drmaa/
diff -Nru pbs-drmaa-1.0.10/debian/patches/11_foreign.diff pbs-drmaa-1.0.10/debian/patches/11_foreign.diff
--- pbs-drmaa-1.0.10/debian/patches/11_foreign.diff	1969-12-31 19:00:00.000000000 -0500
+++ pbs-drmaa-1.0.10/debian/patches/11_foreign.diff	2014-01-31 13:06:52.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/drmaa_utils/configure.ac
++++ b/drmaa_utils/configure.ac
+@@ -32,7 +32,7 @@
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_AUX_DIR([scripts])
+ 
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ DEVELOPER_MODE="no"
+ AM_CONDITIONAL([DEVELOPER_MODE], [test "x$DEVELOPER_MODE" = "xyes"])
+ 
diff -Nru pbs-drmaa-1.0.10/debian/patches/series pbs-drmaa-1.0.10/debian/patches/series
--- pbs-drmaa-1.0.10/debian/patches/series	2012-04-22 18:42:32.000000000 -0400
+++ pbs-drmaa-1.0.10/debian/patches/series	2014-01-31 13:03:30.000000000 -0500
@@ -1 +1,2 @@
 10_kfreebsd.diff
+11_foreign.diff
diff -Nru pbs-drmaa-1.0.10/debian/rules pbs-drmaa-1.0.10/debian/rules
--- pbs-drmaa-1.0.10/debian/rules	2012-04-22 18:52:37.000000000 -0400
+++ pbs-drmaa-1.0.10/debian/rules	2014-01-31 13:01:17.000000000 -0500
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	./configure --prefix=/usr/lib/pbs-drmaa

Reply via email to