8897c67
diff -up polymake-2.15-beta2/bundled/group/apps/polytope/src/Makefile.inc.fedora polymake-2.15-beta2/bundled/group/apps/polytope/src/Makefile.inc
8897c67
--- polymake-2.15-beta2/bundled/group/apps/polytope/src/Makefile.inc.fedora	2015-08-26 09:21:17.527018401 -0400
8897c67
+++ polymake-2.15-beta2/bundled/group/apps/polytope/src/Makefile.inc	2015-08-26 09:23:11.372298151 -0400
8897c67
@@ -1,15 +1,11 @@
8897c67
 ifeq (${ImportedIntoExtension},)
8897c67
-  StaticLibs := sympol
8897c67
+  # StaticLibs := sympol
8897c67
 
8897c67
-  sympol_interface$O : ExtraCXXFLAGS += -I${ExtensionTop}/external/sympol
8897c67
-  sympol_raycomputation_beneathbeyond$O : ExtraCXXFLAGS += -I${ExtensionTop}/external/sympol
8897c67
-  sympol_raycomputation_ppl$O : ExtraCXXFLAGS += -I${ExtensionTop}/external/sympol
8897c67
+  sympol_interface$O : ExtraCXXFLAGS += -I/usr/include/sympol
8897c67
+  sympol_raycomputation_beneathbeyond$O : ExtraCXXFLAGS += -I/usr/include/sympol
8897c67
+  sympol_raycomputation_ppl$O : ExtraCXXFLAGS += -I/usr/include/sympol
8897c67
 
8897c67
-  LIBS += ${BuildDir}/staticlib/sympol/libsympol$A $(subst %A,${A},${CddLib} ${LrsLib})
8897c67
-endif
8897c67
-
8897c67
-ifneq ($(filter 4.4%,${GCCversion}),)
8897c67
-  universal_polytope_ilps$O : ExtraCXXFLAGS += -O1
8897c67
+  LIBS += -lsympol -lcddgmp
8897c67
 endif
8897c67
 
8897c67
 # Local Variables:
8897c67
diff -up polymake-2.15-beta2/bundled/group/configure.pl.fedora polymake-2.15-beta2/bundled/group/configure.pl
8897c67
--- polymake-2.15-beta2/bundled/group/configure.pl.fedora	2015-08-26 09:16:29.000000000 -0400
8897c67
+++ polymake-2.15-beta2/bundled/group/configure.pl	2015-08-26 09:21:17.527018401 -0400
8897c67
@@ -28,7 +28,7 @@ sub proceed {
8897c67
    my ($options)=@_;
8897c67
    my $boost_path;
8897c67
    # everything can include permlib headers
8897c67
-   $CXXflags='-I${ExtensionTop}/external/permlib/include';
8897c67
+   $CXXflags='-I/usr/include/permlib';
8897c67
 
8897c67
    if (defined ($boost_path=$options->{boost})) {
8897c67
       $boost_path .= '/include' if (-d "$boost_path/include/boost");
8897c67
diff -up polymake-2.15-beta2/bundled/group/staticlib/sympol/Makefile.inc.fedora polymake-2.15-beta2/bundled/group/staticlib/sympol/Makefile.inc
8897c67
--- polymake-2.15-beta2/bundled/group/staticlib/sympol/Makefile.inc.fedora	2015-08-26 09:16:29.000000000 -0400
8897c67
+++ polymake-2.15-beta2/bundled/group/staticlib/sympol/Makefile.inc	2015-08-26 09:21:17.527018401 -0400
8897c67
@@ -5,7 +5,7 @@ src := $(ExtensionTop)/external/sympol/s
8897c67
 vpath %.cpp $(src)
8897c67
 
8897c67
 
8897c67
-libsympol : ExtraCXXFLAGS := -I$(ExtensionTop)/external/permlib/include -I$(ExtensionTop)/external/sympol/sympol $(LrsCflags) -DGMP -DLRS_QUIET $(CddCflags) -DGMPRATIONAL 
8897c67
+libsympol : ExtraCXXFLAGS :=  -I/usr/include/permlib -I/usr/include/sympol $(LrsCflags) -DGMP -DLRS_QUIET $(CddCflags) -DGMPRATIONAL 
8897c67
 
8897c67
 # Local Variables:
8897c67
 # mode: Makefile
8897c67
diff -up polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/Makefile.inc.fedora polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/Makefile.inc
8897c67
--- polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/Makefile.inc.fedora	2015-08-26 09:16:29.000000000 -0400
8897c67
+++ polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/Makefile.inc	2015-08-26 09:21:17.528018396 -0400
8897c67
@@ -1,4 +1,5 @@
8897c67
-  ExtraCXXFLAGS = -I$(ExtensionTop)/external/libnormaliz
8897c67
+  ExtraCXXFLAGS = -I/usr/include/libnormaliz
8897c67
+  LIBS += -lnormaliz
8897c67
 
8897c67
 # Local Variables:
8897c67
 # mode: Makefile
8897c67
diff -up polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/normaliz.cc.fedora polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/normaliz.cc
8897c67
--- polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/normaliz.cc.fedora	2015-08-26 09:16:29.000000000 -0400
8897c67
+++ polymake-2.15-beta2/bundled/libnormaliz/apps/polytope/src/normaliz.cc	2015-08-26 09:21:17.528018396 -0400
8897c67
@@ -36,7 +36,7 @@ namespace libnormaliz {
8897c67
    }
8897c67
 }
8897c67
 
8897c67
-#include "libnormaliz-all.cpp"
8897c67
+#include <libnormaliz/cone.h>
8897c67
 
8897c67
 namespace libnormaliz {
8897c67
    template<> inline long explicit_cast_to_long(const pm::Integer& a) {
8897c67
diff -up polymake-2.15-beta2/perl/polymake-config.fedora polymake-2.15-beta2/perl/polymake-config
8897c67
--- polymake-2.15-beta2/perl/polymake-config.fedora	2015-08-26 09:16:29.000000000 -0400
8897c67
+++ polymake-2.15-beta2/perl/polymake-config	2015-08-26 09:21:17.528018396 -0400
8897c67
@@ -125,9 +125,6 @@ while (defined ($_=shift)) {
8897c67
 
8897c67
    } elsif ($_ eq "--ldflags") {
8897c67
       my $ldflags=$conf{LDflags};
8897c67
-      if ($ldflags !~ /(?:^|\s)-L$conf{InstallLib}(?:\s|$)/) {
8897c67
-         $ldflags="-L$conf{InstallLib} $ldflags";
8897c67
-      }
8897c67
       my $add_rpath=1;
8897c67
       open CF, ">$tmpfile.cc" or die "can't create temporary file $tmpfile.cc: $!\n";
8897c67
       print CF "int main() { return 0; }\n";
8897c67
@@ -145,8 +142,6 @@ while (defined ($_=shift)) {
8897c67
       close CC;
8897c67
       if ($^O eq "darwin") {
8897c67
          $ldflags="$conf{ARCHFLAGS} $ldflags -flat_namespace";
8897c67
-      } elsif ($add_rpath) {
8897c67
-         $ldflags.=" -Wl,-rpath,$conf{InstallLib}";
8897c67
       }
8897c67
       $ldflags=~s/^\s+//; $ldflags=~s/\s+$//; $ldflags=~s/\s{2,}/ /g;
8897c67
       if ($debug_asked=defined($debug)) {
8897c67
diff -up polymake-2.15-beta2/support/configure.pl.fedora polymake-2.15-beta2/support/configure.pl
8897c67
--- polymake-2.15-beta2/support/configure.pl.fedora	2015-08-26 09:16:29.000000000 -0400
8897c67
+++ polymake-2.15-beta2/support/configure.pl	2015-08-26 09:21:17.528018396 -0400
8897c67
@@ -388,7 +388,7 @@ if (defined $CC) {
8897c67
 print "ok ($CXX is ", defined($GCCversion) ? "GCC $GCCversion" : defined($CLANGversion) ? "CLANG $CLANGversion" : "ICC $ICCversion", ")\n";
8897c67
 
8897c67
 $PERL     =$vars{PERL}     || $^X;
8897c67
-$CXXOPT   =$vars{CXXOPT}   || "-O3";
8897c67
+$CXXOPT   =$vars{CXXOPT}   || "-O2";
8897c67
 $CXXDEBUG =$vars{CXXDEBUG} || "";
8897c67
 $Cflags   =$vars{CFLAGS}   || "";
8897c67
 $CXXflags =$vars{CXXFLAGS} || $Cflags;
8897c67
@@ -578,10 +578,6 @@ if (defined $GMP) {
8897c67
    $CXXflags .= " -I$GMP/include";
8897c67
    my $libdir=get_libdir($GMP, "gmp");
8897c67
    $LDflags .= " -L$libdir";
8897c67
-   if (($^O ne "darwin" || $options{fink} eq ".none.") && exists $options{gmp}) {
8897c67
-      # non-standard location
8897c67
-      $LDflags .= " -Wl,-rpath,$libdir";
8897c67
-   }
8897c67
 }
8897c67
 
8897c67
 my $MPFR=$options{mpfr};
8897c67
@@ -590,10 +586,6 @@ if (defined($MPFR) && $MPFR ne $GMP) {
8897c67
    $CXXflags .= " -I$MPFR/include";
8897c67
    my $libdir=get_libdir($MPFR, "mpfr");
8897c67
    $LDflags .= " -L$libdir";
8897c67
-   if ($^O ne "darwin" || $options{fink} eq ".none.") {
8897c67
-      # non-standard location
8897c67
-      $LDflags .= " -Wl,-rpath,$libdir";
8897c67
-   }
8897c67
 }
8897c67
 
8897c67
 if ($check_prereq) {