diff options
author | pav <pav@FreeBSD.org> | 2011-03-09 08:34:06 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2011-03-09 08:34:06 +0800 |
commit | 8d958ff50178d58790fa9aedb3f1b035f02de1ff (patch) | |
tree | 247fafc3a8f926e5352cd6b710320544e31f9f95 /x11-wm | |
parent | 81e560afc87affa05f8c90c441624ffdd4f912d9 (diff) | |
download | freebsd-ports-gnome-8d958ff50178d58790fa9aedb3f1b035f02de1ff.tar.gz freebsd-ports-gnome-8d958ff50178d58790fa9aedb3f1b035f02de1ff.tar.zst freebsd-ports-gnome-8d958ff50178d58790fa9aedb3f1b035f02de1ff.zip |
- Try to fix build
PR: ports/155152
Submitted by: Anati Chang <femc7488@gmail.com>
Approved by: maintainer timeout (garga; 8 days - shorted for a fix)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/awesome/files/patch-CMakeLists.txt | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/x11-wm/awesome/files/patch-CMakeLists.txt b/x11-wm/awesome/files/patch-CMakeLists.txt index 0004e2d8ae07..c2d666159dc2 100644 --- a/x11-wm/awesome/files/patch-CMakeLists.txt +++ b/x11-wm/awesome/files/patch-CMakeLists.txt @@ -1,6 +1,23 @@ ---- CMakeLists.txt.orig 2010-05-10 09:39:57.000000000 -0300 -+++ CMakeLists.txt 2010-05-20 14:37:08.000000000 -0300 -@@ -342,7 +342,9 @@ +--- CMakeLists.txt.orig 2011-01-17 19:38:13.000000000 +0800 ++++ CMakeLists.txt 2011-03-01 19:52:50.000000000 +0800 +@@ -274,14 +274,15 @@ + + # {{{ Theme icons + file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png) +-set(ALL_ICONS ${icon_sources}) + + foreach(icon ${icon_sources}) + # Copy all icons to the build dir to simplify the following code. + # Source paths are interpreted relative to ${SOURCE_DIR}, target paths + # relative to ${BUILD_DIR}. + get_filename_component(icon_path ${icon} PATH) ++ get_filename_component(icon_name ${icon} NAME) + file(COPY ${icon} DESTINATION ${icon_path}) ++ set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}") + endforeach() + + macro(a_icon_convert match replacement input) +@@ -343,7 +344,9 @@ PATTERN "*.in" EXCLUDE) install(DIRECTORY ${SOURCE_DIR}/themes DESTINATION ${AWESOME_DATA_PATH} PATTERN "*.in" EXCLUDE) |