Hi All,
update to the last stable version. Testeda with graphics/maim 4.4.47
(Separate e-mail) and directly on amd64.
Regards,
Rafael Sadowski
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/slop/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile 25 Aug 2015 13:18:27 -0000 1.9
+++ Makefile 25 Feb 2017 09:04:31 -0000
@@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2015/08/25 13:18:27 sthen Exp $
-V = 4.1.16
+V = 5.3.21
COMMENT = query for a selection and print to stdout (select operation)
DISTNAME = slop-${V}
CATEGORIES = graphics x11
-REVISION = 0
GH_ACCOUNT = naelstrof
GH_PROJECT = slop
@@ -13,9 +12,18 @@ GH_TAGNAME = v${V}
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
-WANTLIB += ICE SM X11 Xext c m stdc++
+WANTLIB += GL GLU ICE SM X11 Xext c m pthread
-MODULES = devel/cmake
+MODULES = devel/cmake \
+ gcc4
+
+MODGCC4_LANGS = c++
+MODGCC4_ARCHS = *
+
+BUILD_DEPENDS += graphics/glm
+
+CONFIGURE_ARGS += -DCMAKE_INSTALL_MANDIR="${LOCALBASE}/man" \
+ -DCMAKE_COMPRESS_MAN:BOOL=Off
NO_TEST = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/slop/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo 21 Apr 2015 02:07:38 -0000 1.5
+++ distinfo 25 Feb 2017 09:04:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (slop-4.1.16.tar.gz) = wp8MzbKLxYfJFOmfo/qgmyE129UZp1thSP2kLEFX6Rg=
-SIZE (slop-4.1.16.tar.gz) = 35997
+SHA256 (slop-5.3.21.tar.gz) = i05ca4PkBZV2rRLG/prxhGEyw9kOqLyUBKTZqaKenmI=
+SIZE (slop-5.3.21.tar.gz) = 62617
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-CMakeLists_txt 25 Feb 2017 09:04:31 -0000
@@ -0,0 +1,28 @@
+$OpenBSD$
+
+- The slop executable requires C++11
+-- commit from upstream 1fd9f104c00f46061ae644b1ae10b22e5022d512
+
+--- CMakeLists.txt.orig Thu Feb 23 12:54:04 2017
++++ CMakeLists.txt Fri Feb 24 06:38:36 2017
+@@ -47,6 +47,8 @@ set_property(TARGET ${LIBRARY_NAME} PROPERTY CXX_STAND
+ add_executable(${EXECUTABLE_NAME} src/options.cpp
+ src/main.cpp)
+
++set_property(TARGET ${EXECUTABLE_NAME} PROPERTY CXX_STANDARD 11)
++
+ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/modules" )
+
+ find_package(GLM REQUIRED)
+@@ -65,8 +67,9 @@ target_link_libraries(${EXECUTABLE_NAME} ${X11_LIBRARI
+ ${GLM_LIBRARIES}
+ ${OPENGL_LIBRARIES}
+ ${GLX_LIBRARY}
+- ${XEXT_LIBRARIES}
+- ${LIBRARY_NAME})
++ ${XEXT_LIBRARIES})
++
++target_link_libraries(${EXECUTABLE_NAME} ${LIBRARY_NAME})
+
+ install( TARGETS ${EXECUTABLE_NAME} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin"
)
+ install( TARGETS ${LIBRARY_NAME} DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" )
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/slop/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 16 Nov 2014 16:48:56 -0000 1.1.1.1
+++ pkg/PLIST 25 Feb 2017 09:04:31 -0000
@@ -1,2 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/11/16 16:48:56 bcallah Exp $
@bin bin/slop
+include/slop.hpp
+lib/libslopy.so
+@man man/man1/slop.1