aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjay <djay@32389bae-6d03-0410-99cf-db05cde120eb>2007-01-06 17:37:02 +0000
committerdjay <djay@32389bae-6d03-0410-99cf-db05cde120eb>2007-01-06 17:37:02 +0000
commitca18ec52742073a434f82f2f13e7cabafd5a5792 (patch)
tree38fd844bb74cfe630408e5655fe30f147b5e13ad /sci-libs/cgal/files/cgal_redhat.patch
parentAdd dependency to RDEPEND. (diff)
downloadsci-ca18ec52742073a434f82f2f13e7cabafd5a5792.tar.gz
sci-ca18ec52742073a434f82f2f13e7cabafd5a5792.tar.bz2
sci-ca18ec52742073a434f82f2f13e7cabafd5a5792.zip
initial import of the CGAL library
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@455 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs/cgal/files/cgal_redhat.patch')
-rw-r--r--sci-libs/cgal/files/cgal_redhat.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/cgal/files/cgal_redhat.patch b/sci-libs/cgal/files/cgal_redhat.patch
new file mode 100644
index 000000000..77a4073e1
--- /dev/null
+++ b/sci-libs/cgal/files/cgal_redhat.patch
@@ -0,0 +1,27 @@
+diff -ur src/CGALQt/makefile src/CGALQt/makefile
+--- src/CGALQt/makefile 2006-05-23 17:15:58.000000000 +0200
++++ src/CGALQt/makefile 2006-05-24 15:59:33.000000000 +0200
+@@ -71,15 +71,21 @@
+
+ static_lib: lib
+
+-lib: lib_no_install
++lib: lib_no_install lib_shared
+ mv $(CGAL_QT_LIB) $(CGAL_LIB_DESTINATION)
++ mv libCGALQt.so $(CGAL_LIB_DESTINATION)
++ rm $(CGAL_OBJECTS)
+
+ lib_no_install: $(CGAL_OBJECTS)
+ $(CGAL_LIB_CREATE)$(CGAL_QT_LIB) \
+ `ls *$(OBJ_EXT) | awk '{for (i=1; i<=NF;++i){printf "$(CGAL_OBJ_PREFIX)";print $$i}}'`\
+ $(CGAL_LIB_LDFLAGS)
+ $(RANLIB) $(CGAL_QT_LIB)
+- rm $(CGAL_OBJECTS)
++
++lib_shared: $(CGAL_OBJECTS)
++ $(CGAL_SHARED_LIB_CREATE)libCGALQt.so \
++ `ls *$(OBJ_EXT) | awk '{for (i=1; i<=NF;++i){printf "$(CGAL_OBJ_PREFIX)";print $$i}}'`\
++ $(CGAL_LIB_LDFLAGS)
+
+ clean:
+ rm -f $(CGAL_QT_LIB) $(CGAL_OBJECTS) *.moc