diff -pruN 0.6.20-1.2/debian/changelog 0.6.20-1.2ubuntu1/debian/changelog
--- 0.6.20-1.2/debian/changelog	2011-04-12 10:43:10.000000000 +0000
+++ 0.6.20-1.2ubuntu1/debian/changelog	2014-01-22 19:52:33.000000000 +0000
@@ -1,3 +1,10 @@
+openct (0.6.20-1.2ubuntu1) trusty; urgency=low
+
+  * Use dh-autoreconf for newer arches, resolving FTBFS.
+  * Don't attempt to move conffile from a nonexistent directory.
+
+ -- Daniel T Chen <crimsun@ubuntu.com>  Wed, 22 Jan 2014 13:53:50 -0500
+
 openct (0.6.20-1.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -pruN 0.6.20-1.2/debian/control 0.6.20-1.2ubuntu1/debian/control
--- 0.6.20-1.2/debian/control	2011-04-12 10:43:34.000000000 +0000
+++ 0.6.20-1.2ubuntu1/debian/control	2014-01-22 18:53:48.000000000 +0000
@@ -1,8 +1,10 @@
 Source: openct
 Section: utils
 Priority: extra
-Maintainer: Eric Dorland <eric@debian.org>
-Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5.0.45), libpcsclite-dev (>= 1.4.0), pkg-config, libltdl3-dev, libusb2-dev [kfreebsd-any]
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Eric Dorland <eric@debian.org>
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5.0.45), libpcsclite-dev (>= 1.4.0), pkg-config, libltdl3-dev, libusb2-dev [kfreebsd-any],
+ dh-autoreconf
 Build-Conflicts: libusb-dev
 Standards-Version: 3.8.3
 Homepage: http://www.opensc-project.org/
diff -pruN 0.6.20-1.2/debian/patches/debian-changes 0.6.20-1.2ubuntu1/debian/patches/debian-changes
--- 0.6.20-1.2/debian/patches/debian-changes	2011-04-12 10:46:02.000000000 +0000
+++ 0.6.20-1.2ubuntu1/debian/patches/debian-changes	2014-01-22 19:56:35.000000000 +0000
@@ -12,3 +12,14 @@ Please use the git repo for development.
  fi
  
  set -e
+--- openct-0.6.20.orig/etc/Makefile.am
++++ openct-0.6.20/etc/Makefile.am
+@@ -34,8 +34,6 @@ sysconf_DATA=#required in order to creat
+ install-exec-hook:	install-sysconfDATA openct.conf
+ 	if [ -f "$(DESTDIR)$(sysconfdir)/openct.conf" ]; then \
+ 		$(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf.new"; \
+-	else \
+-		$(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf"; \
+ 	fi
+ 
+ .in:
diff -pruN 0.6.20-1.2/debian/rules 0.6.20-1.2ubuntu1/debian/rules
--- 0.6.20-1.2/debian/rules	2010-04-07 20:40:00.000000000 +0000
+++ 0.6.20-1.2ubuntu1/debian/rules	2014-01-22 18:54:39.000000000 +0000
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS = --enable-pcsc --with-udev=/lib/udev \
diff -pruN 0.6.20-1.2/etc/Makefile.am 0.6.20-1.2ubuntu1/etc/Makefile.am
--- 0.6.20-1.2/etc/Makefile.am	2009-04-29 07:17:13.000000000 +0000
+++ 0.6.20-1.2ubuntu1/etc/Makefile.am	2014-01-22 21:37:30.000000000 +0000
@@ -34,8 +34,6 @@ sysconf_DATA=#required in order to creat
 install-exec-hook:	install-sysconfDATA openct.conf
 	if [ -f "$(DESTDIR)$(sysconfdir)/openct.conf" ]; then \
 		$(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf.new"; \
-	else \
-		$(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf"; \
 	fi
 
 .in:
diff -pruN 0.6.20-1.2/.pc/debian-changes/etc/Makefile.am 0.6.20-1.2ubuntu1/.pc/debian-changes/etc/Makefile.am
--- 0.6.20-1.2/.pc/debian-changes/etc/Makefile.am	1970-01-01 00:00:00.000000000 +0000
+++ 0.6.20-1.2ubuntu1/.pc/debian-changes/etc/Makefile.am	2009-04-29 07:17:13.000000000 +0000
@@ -0,0 +1,52 @@
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+
+SUFFIXES = .in
+
+sources = openct.udev.in openct.udev.modalias.in openct.udev.compat openct_usb.mdev.in \
+	openct.conf.in openct.hald.in reader.conf.in \
+	init-script.in openct.hald.in openct_usb.mdev.in \
+	openct_usb.in openct_pcmcia.in openct_serial.in
+generated_data = openct.udev openct.udev.modalias openct_usb.mdev \
+	openct.conf openct.hald reader.conf 
+noinst_generated_scripts = init-script openct.hald openct_usb.mdev
+udev_generated_scripts = openct_usb openct_pcmcia openct_serial
+
+CLEANFILES = $(generated_data) $(noinst_generated_scripts) $(udev_generated_scripts)
+
+nodist_noinst_SCRIPTS = $(noinst_generated_scripts)
+dist_noinst_DATA = Info.plist openct.fdi openct-policy.fdi openct-disable.fdi $(sources)
+nodist_noinst_DATA = $(generated_data)
+
+if ENABLE_UDEV
+nodist_udev_SCRIPTS = $(udev_generated_scripts)
+else
+nodist_noinst_SCRIPTS += $(udev_generated_scripts)
+endif
+
+if ENABLE_HOTPLUG
+hotplug_DATA = openct.usermap
+else
+dist_noinst_DATA += openct.usermap
+endif
+
+
+sysconf_DATA=#required in order to create dir
+install-exec-hook:	install-sysconfDATA openct.conf
+	if [ -f "$(DESTDIR)$(sysconfdir)/openct.conf" ]; then \
+		$(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf.new"; \
+	else \
+		$(INSTALL_DATA) openct.conf "$(DESTDIR)$(sysconfdir)/openct.conf"; \
+	fi
+
+.in:
+	sed \
+		-e 's|@bindir[@]|$(bindir)|g' \
+		-e 's|@sbindir[@]|$(sbindir)|g' \
+		-e 's|@libdir[@]|$(libdir)|g' \
+		-e 's|@udevdir[@]|$(udevdir)|g' \
+		-e 's|@localstatedir[@]|$(localstatedir)|g' \
+		-e 's|@OPENCT_SOCKET_PATH[@]|@OPENCT_SOCKET_PATH@|g' \
+		-e 's|@ENABLE_NON_PRIVILEGED[@]|@ENABLE_NON_PRIVILEGED@|g' \
+		-e 's|@daemon_user[@]|@daemon_user@|g' \
+		-e 's|@daemon_groups[@]|@daemon_groups@|g' \
+		< "$<" > "$@"
