[med-svn] r10079 - in trunk/packages/theseus/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Sat Mar 24 21:10:04 UTC 2012


Author: tille
Date: 2012-03-24 21:10:03 +0000 (Sat, 24 Mar 2012)
New Revision: 10079

Added:
   trunk/packages/theseus/trunk/debian/patches/20_exclude_apple_options.patch
Modified:
   trunk/packages/theseus/trunk/debian/changelog
   trunk/packages/theseus/trunk/debian/patches/series
Log:
Prevent trying to link with Apple specific linker option


Modified: trunk/packages/theseus/trunk/debian/changelog
===================================================================
--- trunk/packages/theseus/trunk/debian/changelog	2012-03-24 20:26:21 UTC (rev 10078)
+++ trunk/packages/theseus/trunk/debian/changelog	2012-03-24 21:10:03 UTC (rev 10079)
@@ -12,6 +12,10 @@
     for References in upstream yaml format
   * debian/{control,compat}: debhelper 9 to enable hardening
     flags
+  * debian/patches/20_hardening.patch: Enable building with hardening
+    options
+  * debian/patches/20_exclude_apple_options.patch: Prevent trying
+    to link with Apple specific linker option
 
  -- Andreas Tille <tille at debian.org>  Sat, 24 Mar 2012 07:48:57 +0100
 

Added: trunk/packages/theseus/trunk/debian/patches/20_exclude_apple_options.patch
===================================================================
--- trunk/packages/theseus/trunk/debian/patches/20_exclude_apple_options.patch	                        (rev 0)
+++ trunk/packages/theseus/trunk/debian/patches/20_exclude_apple_options.patch	2012-03-24 21:10:03 UTC (rev 10079)
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Date:  Sat, 24 Mar 2012 07:48:57 +0100
+Description: Exclude Apple specific linker option
+ Attention: I have no idea whether the variable APPLE is
+ set when building on Apple machines - please adapt!!!
+
+--- theseus_src.orig/make.inc
++++ theseus_src/make.inc
+@@ -14,7 +14,9 @@
+ # Mac OSX Universal?
+ LOCALLIBDIR = /usr/local/lib
+ LIBS = -lgsl -lgslcblas -ldistfit -lmsa -ldssplite -ldltmath -lDLTutils -ltheseus
++ifdef APPLE
+ SYSLIBS = -framework CoreServices #-lmudflap
++endif
+ LIBDIR = -L./lib
+ #LAPACKLIB = -framework vecLib
+ INSTALLDIR = /usr/local/bin

Modified: trunk/packages/theseus/trunk/debian/patches/series
===================================================================
--- trunk/packages/theseus/trunk/debian/patches/series	2012-03-24 20:26:21 UTC (rev 10078)
+++ trunk/packages/theseus/trunk/debian/patches/series	2012-03-24 21:10:03 UTC (rev 10079)
@@ -1,2 +1,3 @@
 10_kbsd.patch
 20_hardening.patch
+20_exclude_apple_options.patch




More information about the debian-med-commit mailing list