pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/icewm14 icewm14: Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d893a18eac12
branches: trunk
changeset: 325980:d893a18eac12
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Nov 28 16:24:54 2018 +0000
description:
icewm14: Fix build on SunOS.
diffstat:
wm/icewm14/Makefile | 4 +++-
wm/icewm14/distinfo | 4 ++--
wm/icewm14/patches/patch-src_CMakeLists.txt | 16 ++++++++++++----
3 files changed, 17 insertions(+), 7 deletions(-)
diffs (66 lines):
diff -r c0296df84b81 -r d893a18eac12 wm/icewm14/Makefile
--- a/wm/icewm14/Makefile Wed Nov 28 16:22:45 2018 +0000
+++ b/wm/icewm14/Makefile Wed Nov 28 16:24:54 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2 2018/11/28 16:24:54 jperkin Exp $
DISTNAME= icewm-1.4.2
CATEGORIES= wm
@@ -20,6 +20,8 @@
USE_LANGUAGES= c c++03
USE_TOOLS+= msgfmt pkg-config
+LDFLAGS.SunOS+= -lsocket -lnsl
+
post-extract:
cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
diff -r c0296df84b81 -r d893a18eac12 wm/icewm14/distinfo
--- a/wm/icewm14/distinfo Wed Nov 28 16:22:45 2018 +0000
+++ b/wm/icewm14/distinfo Wed Nov 28 16:24:54 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2018/11/28 16:24:54 jperkin Exp $
SHA1 (icewm-1.4.2.tar.bz2) = d1f9af531fec7beaa334db9c0e4764b9e40bbacd
RMD160 (icewm-1.4.2.tar.bz2) = 6aaabad0c235901556951c9d88178adf15e29f51
SHA512 (icewm-1.4.2.tar.bz2) = 0d227d75d2e3e6e5314eb0990375b85a34496e61e8b504ee023decb52b0c3a20bfd65c0d491b738d3742ddf3f21acfabfc8e4d43df51d137f568580b6c5ed0cd
Size (icewm-1.4.2.tar.bz2) = 1731772 bytes
-SHA1 (patch-src_CMakeLists.txt) = 6a86bf3860656291e7a5f0b646325e19fd90127a
+SHA1 (patch-src_CMakeLists.txt) = 87a236a6d53937921ffca0044b1497124f8a9d83
SHA1 (patch-src_base.h) = 5321f1f1f8fd1ced2c5f38a7e5e614deee4703df
SHA1 (patch-src_icesm.cc) = c7fa247c395bb36307b7757a8c2698b62b7d0a6e
SHA1 (patch-src_icetray.cc) = a8e70da376e13be187037f190c672b8b75fd287b
diff -r c0296df84b81 -r d893a18eac12 wm/icewm14/patches/patch-src_CMakeLists.txt
--- a/wm/icewm14/patches/patch-src_CMakeLists.txt Wed Nov 28 16:22:45 2018 +0000
+++ b/wm/icewm14/patches/patch-src_CMakeLists.txt Wed Nov 28 16:24:54 2018 +0000
@@ -1,8 +1,16 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.1 2018/11/01 09:25:29 bsiegert Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.2 2018/11/28 16:24:54 jperkin Exp $
---- src/CMakeLists.txt.orig 2017-07-30 08:53:35.000000000 +0000
+--- src/CMakeLists.txt.orig 2017-07-30 08:53:35.524267864 +0000
+++ src/CMakeLists.txt
-@@ -338,7 +338,7 @@ set(icewm_libs ${sm_LIBS} ${nls_LIBS} ${
+@@ -47,6 +47,7 @@ ENDIF()
+ if(ENABLE_NLS OR CONFIG_I18N)
+ find_library(CONFIG_LIBICONV iconv)
+ if(CONFIG_LIBICONV)
++ SET(CXXFLAGS_COMMON "${CXXFLAGS_COMMON} -DCONFIG_LIBICONV")
+ LIST(APPEND nls_LIBS iconv)
+ endif()
+ find_library(CONFIG_LIBINTL intl)
+@@ -338,7 +339,7 @@ set(icewm_libs ${sm_LIBS} ${nls_LIBS} ${
TARGET_LINK_LIBRARIES(icewm${EXEEXT} ${icewm_libs})
ADD_EXECUTABLE(genpref${EXEEXT} genpref.cc misc.cc)
@@ -11,7 +19,7 @@
IF(CONFIG_FDO_MENUS)
ADD_EXECUTABLE(icewm-menu-fdo${EXEEXT} fdomenu.cc misc.cc)
-@@ -387,7 +387,7 @@ if(NOT CMAKE_CROSSCOMPILING)
+@@ -387,7 +388,7 @@ if(NOT CMAKE_CROSSCOMPILING)
ADD_CUSTOM_COMMAND(TARGET genpref${EXEEXT}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/lib
Home |
Main Index |
Thread Index |
Old Index