On Thu Apr 13, 2017 at 06:47:56PM +0100, Stuart Henderson wrote: > On 2017/04/13 19:19, Landry Breuil wrote: > > As for using gcc4 module for c++11 support, i'm a bit lost in the clang > > vs gcc4 vs atomics vs c++11 support way of dealing with things... > > If it's for c++11 support you could use > > MODULES= gcc4 > MODGCC4_ARCHS= ${GCC3_ARCHS} ${GCC4_ARCHS} > MODGCC4_LANGS= c++ > > I've been trying to think of a nice abstraction so we don't need to > copy that boilerplate all over the place. Perhaps a USE_CXX11 flag? +1 ... would be great for many ports! Until then:
Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/slop/Makefile,v retrieving revision 1.10 diff -u -p -u -p -r1.10 Makefile --- Makefile 10 Apr 2017 11:46:21 -0000 1.10 +++ Makefile 13 Apr 2017 18:12:20 -0000 @@ -1,21 +1,31 @@ # $OpenBSD: Makefile,v 1.10 2017/04/10 11:46:21 sthen Exp $ -V = 4.1.16 +V = 5.3.37 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 GH_TAGNAME = v${V} +MAINTAINER = Rafael Sadowski <rsadow...@openbsd.org> + # GPLv3+ PERMIT_PACKAGE_CDROM = Yes -WANTLIB += ICE SM X11 Xext c m ${LIBCXX} +WANTLIB += GL GLU ICE SM X11 Xext Xrender c m pthread ${LIBCXX} + +MODULES = devel/cmake \ + gcc4 + +MODGCC4_LANGS = c++ +MODGCC4_ARCHS = ${GCC3_ARCHS} ${GCC4_ARCHS} + +BUILD_DEPENDS += graphics/glm -MODULES = devel/cmake +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 13 Apr 2017 18:12:20 -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.37.tar.gz) = OhZW+MzFOrWixv/glYk7Bc9Qo7pdM4V+z0jOP0SAUdw= +SIZE (slop-5.3.37.tar.gz) = 68182 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 13 Apr 2017 18:12:20 -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