PKGBUILDs/community/gtk-kde4/no_sudo.patch
2009-10-09 21:15:33 -05:00

13 lines
628 B
Diff

--- gtk-kde4/daemon/CMakeLists.txt~ 2009-04-25 17:23:07.000000000 +0200
+++ gtk-kde4/daemon/CMakeLists.txt 2009-04-25 17:19:42.000000000 +0200
@@ -7,9 +7,3 @@
LINK_DIRECTORIES(${KDE4_LIB_DIR})
TARGET_LINK_LIBRARIES(gtk-kde4 ${KDE4_KDECORE_LIBRARY} ${KDE4_KDEUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTSVG_LIBRARY})
-
-IF(EXISTS /etc/gtk-2.0/gtkrc)
-ADD_CUSTOM_COMMAND(TARGET gtk-kde4 POST_BUILD COMMAND sudo ARGS rm /etc/gtk-2.0/gtkrc)
-ADD_CUSTOM_COMMAND(TARGET gtk-kde4 POST_BUILD COMMAND sudo ARGS ln -s `kde4-config --localprefix`/share/config/gtkrc /etc/gtk-2.0)
-
-ENDIF()
\ No newline at end of file