pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44352: pkgsrc/misc/kdeutils4/ fails to build on DragonFly



>Number:         44352
>Category:       pkg
>Synopsis:       pkgsrc/misc/kdeutils4/ fails to build on DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 23:40:01 +0000 2011
>Originator:     Peter Avalos
>Release:        DragonFly 2.9
>Organization:
DragonFly
>Environment:
DragonFly rama 2.9-DEVELOPMENT DragonFly v2.9.1.401.gb1094-DEVELOPMENT #10: Fri 
Jan  7 19:03:26 HST 2011     root@rama:/usr/obj/usr/src/sys/RAMA  i386

>Description:
kdeutils4 fails to build because it doesn't attempt to link in libkvm when 
linking superkaramba.
>How-To-Repeat:

>Fix:
A similar fix is already in the KDE SVN code:

diff --git a/misc/kdeutils4/distinfo b/misc/kdeutils4/distinfo
index fed40c0..ac14713 100644
--- a/misc/kdeutils4/distinfo
+++ b/misc/kdeutils4/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.9 2010/07/04 11:02:34 markd Exp $
 SHA1 (kdeutils-4.5.4.tar.bz2) = 8d5d1cb5cc37f7fa9cb065e2589b76df80282197
 RMD160 (kdeutils-4.5.4.tar.bz2) = 6b1cdc68d67ba3302e221d6ec4a5ab0958cf9b3d
 Size (kdeutils-4.5.4.tar.bz2) = 3820025 bytes
+SHA1 (patch-aa) = b08abb57292f61279305071af63f29181cab2875
diff --git a/misc/kdeutils4/patches/patch-aa b/misc/kdeutils4/patches/patch-aa
new file mode 100644
index 0000000..eb66ff3
--- /dev/null
+++ b/misc/kdeutils4/patches/patch-aa
@@ -0,0 +1,16 @@
+--- superkaramba/src/CMakeLists.txt.orig       2011-01-08 00:47:33 -1000
++++ superkaramba/src/CMakeLists.txt    2011-01-08 00:53:56 -1000
+@@ -106,11 +106,11 @@
+   TARGET_LINK_LIBRARIES(superkaramba ${PYTHON_LIBRARIES})
+ endif(PYTHONLIBS_FOUND)
+ 
+-IF(CMAKE_SYSTEM MATCHES "FreeBSD.*")
++IF(CMAKE_SYSTEM MATCHES "FreeBSD.*|DragonFly.*")
+   TARGET_LINK_LIBRARIES(superkaramba
+     kvm
+   )
+-ENDIF(CMAKE_SYSTEM MATCHES "FreeBSD.*")
++ENDIF(CMAKE_SYSTEM MATCHES "FreeBSD.*|DragonFly.*")
+ 
+ install(TARGETS superkaramba ${INSTALL_TARGETS_DEFAULT_ARGS})
+ 



Home | Main Index | Thread Index | Old Index