[Debian-astro-commits] [tcl-fitstcl] 01/01: Convert to multiarch

Ole Streicher olebole at moszumanska.debian.org
Wed Jul 22 13:41:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository tcl-fitstcl.

commit ee9c6e5db1581e92127be88e611064cec097c5c8
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Jul 22 15:40:04 2015 +0200

    Convert to multiarch
---
 debian/changelog                    | 6 ++++++
 debian/patches/set_installdir.patch | 8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 118704c..262bdf5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tcl-fitstcl (2.4-2) unstable; urgency=low
+
+  * Convert to multiarch
+
+ -- Ole Streicher <olebole at debian.org>  Wed, 22 Jul 2015 15:39:41 +0200
+
 tcl-fitstcl (2.4-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/patches/set_installdir.patch b/debian/patches/set_installdir.patch
index e14dd8f..90a3d46 100644
--- a/debian/patches/set_installdir.patch
+++ b/debian/patches/set_installdir.patch
@@ -11,7 +11,7 @@ Description: Correct the installation directory
  CC		= @CC@
  RANLIB		= @RANLIB@
  CFLAGS		= @CFLAGS@
-@@ -61,18 +61,20 @@
+@@ -61,6 +61,7 @@
  		${SHLIB_LD} ${LD_FLAGS} ${SHARED_OBJ} ${SHLIB_LD_LIBS} \
  			 -L${TCL_LIB_PATH} -l${TCL_LIB} -o ${SHARED_LIB}; \
  	fi
@@ -19,13 +19,13 @@ Description: Correct the installation directory
  
  install: all
  	@if [ "x${C_LIB_OPTION}" = xstatic ]; then \
- 		echo "cp ${STATIC_LIB} ${INSTALLDIR}/lib/"; \
+@@ -68,11 +69,12 @@
  		cp ${STATIC_LIB} ${INSTALLDIR}/lib/; \
  	else \
-+		mkdir -p ${INSTALLDIR}/lib/tcltk/fitsTcl; \
  		echo "cp ${SHARED_LIB} ${INSTALLDIR}/lib/"; \
 -		cp ${SHARED_LIB} ${INSTALLDIR}/lib/; \
-+		cp ${SHARED_LIB} pkgIndex.tcl ${INSTALLDIR}/lib/tcltk/fitsTcl; \
++		mkdir -p ${INSTALLDIR}/lib/tcltk/${DEB_HOST_MULTIARCH}/fitsTcl; \
++		cp ${SHARED_LIB} pkgIndex.tcl ${INSTALLDIR}/lib/tcltk/${DEB_HOST_MULTIARCH}/fitsTcl; \
  	fi
  
  clean:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/tcl-fitstcl.git



More information about the Debian-astro-commits mailing list