[Pkg-tcltk-commits] r472 - tclodbc/trunk/debian

danirus-guest at alioth.debian.org danirus-guest at alioth.debian.org
Fri Feb 1 16:50:27 UTC 2008


Author: danirus-guest
Date: 2008-02-01 16:50:27 +0000 (Fri, 01 Feb 2008)
New Revision: 472

Modified:
   tclodbc/trunk/debian/changelog
   tclodbc/trunk/debian/rules
Log:
fixes bugs ##461600 and #463583

Modified: tclodbc/trunk/debian/changelog
===================================================================
--- tclodbc/trunk/debian/changelog	2008-02-01 16:49:52 UTC (rev 471)
+++ tclodbc/trunk/debian/changelog	2008-02-01 16:50:27 UTC (rev 472)
@@ -1,3 +1,10 @@
+tclodbc (2.5-5) unstable; urgency=low
+
+  * Closes: #461600 (Not using -fPIC).
+  * Closes: #463583 (unresolved symbols).
+
+ -- Daniel Rus Morales <danirus at tol-project.org>  Fri, 01 Feb 2008 17:30:40 +0100
+
 tclodbc (2.5-4) unstable; urgency=low
 
   * Removed flags which can confuse configure on some archs causing FTBS.

Modified: tclodbc/trunk/debian/rules
===================================================================
--- tclodbc/trunk/debian/rules	2008-02-01 16:49:52 UTC (rev 471)
+++ tclodbc/trunk/debian/rules	2008-02-01 16:50:27 UTC (rev 472)
@@ -8,7 +8,7 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -fPIC -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -22,17 +22,20 @@
 	mv -f aclocal.m4 aclocal.m4.orig
 	aclocal -I . -I tclconfig
 	autoconf
-#	./configure --host=$(DEB_HOST_GNU_TYPE) \
-		    --build=$(DEB_BUILD_GNU_TYPE) \
-
-	./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/include/tcl
+	CC=g++ ./configure \ 
+		--host=$(DEB_HOST_GNU_TYPE) \ 
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--with-tcl=/usr/lib \
+		--with-tclinclude=/usr/include/tcl \
+		CFLAGS="$(CFLAGS)"
 	mv -f configure.orig configure
 	mv -f aclocal.m4.orig aclocal.m4
 
 build: build-stamp
 build-stamp: config.status
 	dh_testdir
-	$(MAKE) CC=g++ CFLAGS="$(CFLAGS)"
+	$(MAKE)
 clean: unpatch
 	dh_testdir
 	dh_testroot




More information about the Pkg-tcltk-commits mailing list