[Pkg-scicomp-commits] tetgen/trunk/debian

Daniel Leidert daniel.leidert.spam at gmx.net
Wed Mar 26 00:19:23 UTC 2008


SVN commit 2333 by dleidert-guest:

debian/rules (build-stamp): Add missing linkages for unresolved symbols.
(clean): Fixed to make the package build twice in a row.

 M  +3 -0      tetgen/trunk/debian/changelog  
 M  +4 -3      tetgen/trunk/debian/rules  


--- tetgen/trunk/debian/changelog #2332:2333
@@ -1,6 +1,9 @@
 tetgen (1.4.2-4) UNRELEASED; urgency=low
 
+  [ Daniel Leidert ]
   * debian/control: Vcs fields transition. Vcs-Svn fix.
+  * debian/rules (build-stamp): Add missing linkages for unresolved symbols.
+    (clean): Fixed to make the package build twice in a row.
 
  -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Wed, 26 Mar 2008 00:44:37 +0100
 
--- tetgen/trunk/debian/rules #2332:2333
@@ -26,10 +26,10 @@
 	# Add here commands to compile the package.
 	$(MAKE) CXXFLAGS="-O3 -fPIC" PREDCXXFLAGS="-O0 -fPIC"
 	$(MAKE) tetlib CXXFLAGS="-O3 -fPIC"
-	mkdir tmp-tetgen-shlib; \
+	mkdir -p tmp-tetgen-shlib; \
 	cd tmp-tetgen-shlib; \
 	ar x ../libtet.a; \
-	gcc -shared -fPIC -Wl,-soname,libtet.so.$(TETGEN_VERSION) -o ../libtet.so.$(TETGEN_VERSION) *.o
+	gcc -shared -fPIC -lstdc++ -lm -Wl,-soname,libtet.so.$(TETGEN_VERSION) -o ../libtet.so.$(TETGEN_VERSION) *.o
 
 	docbook-to-man debian/tetgen.sgml > tetgen.1
 
@@ -41,7 +41,8 @@
 	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
-	#-$(MAKE) clean
+	$(MAKE) clean RM="rm -f"
+	rm -rf tmp-tetgen-shlib
 	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 
 	dh_clean



More information about the Pkg-scicomp-commits mailing list