diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2012-09-12 20:39:39 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-09-12 20:39:39 +0000 |
commit | 6d815e2e8f53e5ef887b5bd0c74ccaee78b67203 (patch) | |
tree | 40857c90926cb9f236ce2ebb6feffa6bddbd4a73 /x11-toolkits/termit | |
parent | c2de5c9e7f7bcaad01b90158bebc5b170423782e (diff) | |
download | ports-6d815e2e8f53e5ef887b5bd0c74ccaee78b67203.tar.gz ports-6d815e2e8f53e5ef887b5bd0c74ccaee78b67203.zip |
Notes
Diffstat (limited to 'x11-toolkits/termit')
-rw-r--r-- | x11-toolkits/termit/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/termit/distinfo | 4 | ||||
-rw-r--r-- | x11-toolkits/termit/files/patch-src__CMakeLists.txt | 31 |
3 files changed, 37 insertions, 6 deletions
diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile index 7c8aa78c863a..102e6e601996 100644 --- a/x11-toolkits/termit/Makefile +++ b/x11-toolkits/termit/Makefile @@ -6,7 +6,7 @@ # PORTNAME= termit -PORTVERSION= 2.9.5 +PORTVERSION= 2.9.6 CATEGORIES= x11-toolkits gnome MASTER_SITES= http://cloud.github.com/downloads/nonstop/termit/ @@ -34,7 +34,7 @@ USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \ xi xinerama xrandr xrender MAKE_JOBS_SAFE= yes -CFLAGS+= -I${LUA_INCDIR} +CFLAGS+= -I${LOCALBASE}/include/vte-0.0 MAN1= ${PORTNAME}.1 @@ -65,8 +65,8 @@ post-patch: @${REINPLACE_CMD} 's|share/man|man|' ${WRKSRC}/doc/CMakeLists.txt @${REINPLACE_CMD} 's|ADD_SUBDIRECTORY(etc)||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/src/lua_conf.c - @${REINPLACE_CMD} -e 's|/usr/lib/liblua.a|${LUA_LIBDIR}/liblua.a|' \ - -e 's|-ldl||' ${WRKSRC}/src/CMakeLists.txt + @${REINPLACE_CMD} 's|/usr/lib/liblua.a|${LUA_LIBDIR}/liblua.a|' \ + ${WRKSRC}/src/CMakeLists.txt post-install: ${MKDIR} ${TERMIT_ETC} diff --git a/x11-toolkits/termit/distinfo b/x11-toolkits/termit/distinfo index fa2c2b7009bf..1a8a7f82293e 100644 --- a/x11-toolkits/termit/distinfo +++ b/x11-toolkits/termit/distinfo @@ -1,2 +1,2 @@ -SHA256 (termit-2.9.5.tar.bz2) = 85aae941ec265d341ec2dbe4a6b60c6e075810345632767032dfd4fb451ce757 -SIZE (termit-2.9.5.tar.bz2) = 47675 +SHA256 (termit-2.9.6.tar.bz2) = f22cef9359155bb2f57ad2f724cf061fe03600ef555c16d41375f4d53897bf03 +SIZE (termit-2.9.6.tar.bz2) = 48096 diff --git a/x11-toolkits/termit/files/patch-src__CMakeLists.txt b/x11-toolkits/termit/files/patch-src__CMakeLists.txt new file mode 100644 index 000000000000..0f7e91bd8b74 --- /dev/null +++ b/x11-toolkits/termit/files/patch-src__CMakeLists.txt @@ -0,0 +1,31 @@ +--- ./src/CMakeLists.txt.orig 2012-09-12 22:14:24.000000000 +0200 ++++ ./src/CMakeLists.txt 2012-09-12 22:16:09.000000000 +0200 +@@ -19,9 +19,9 @@ + + SET(GTK_VERSION "" CACHE STRING "Gtk version") + IF(GTK_VERSION STREQUAL "") +- pkg_search_module(GTK REQUIRED gtk+-3.0 gtk+-2.0>=2.12) ++ pkg_search_module(GTK REQUIRED gtk+-2.0>=2.12) + ELSE(GTK_VERSION STREQUAL "") +- pkg_search_module(GTK REQUIRED gtk+-3.0=${GTK_VERSION} gtk+-2.0=${GTK_VERSION}) ++ pkg_search_module(GTK REQUIRED gtk+-2.0=${GTK_VERSION}) + ENDIF(GTK_VERSION STREQUAL "") + IF(NOT GTK_FOUND) + message(FATAL_ERROR "Gtk library was not found.") +@@ -45,7 +45,7 @@ + + SET(LUA_VERSION "" CACHE STRING "Lua version") + IF(LUA_VERSION STREQUAL "") +- pkg_search_module(LUA REQUIRED lua>=5.0 lua5.2 lua5.1) ++ pkg_search_module(LUA REQUIRED lua>=5.0 lua-5.2 lua-5.1) + ELSE(LUA_VERSION STREQUAL "") + pkg_search_module(LUA REQUIRED + lua=${LUA_VERSION} lua5.2=${LUA_VERSION} lua5.1=${LUA_VERSION} lua5.0=${LUA_VERSION}) +@@ -79,7 +79,6 @@ + + ADD_EXECUTABLE(${TARGET} ${TERMIT_SRCS}) + +-SET(TERMIT_LDFLAGS "-ldl") + FOREACH(ldflag ${VTE_LDFLAGS} ${GTK_LDFLAGS} ${LUA_LDFLAGS}) + LIST(APPEND TERMIT_LDFLAGS "${ldflag}") + ENDFOREACH(ldflag) |