Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 03:27:37 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406819 - in head/devel/pure-stldict: . files
Message-ID:  <201601210327.u0L3RbjC045317@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Jan 21 03:27:36 2016
New Revision: 406819
URL: https://svnweb.freebsd.org/changeset/ports/406819

Log:
  1: Upgrade to 0.8.
  2: remove USE_GCC, it's compilable with clang.
  
  Approved by:	maintainer via twitter.

Modified:
  head/devel/pure-stldict/Makefile
  head/devel/pure-stldict/distinfo
  head/devel/pure-stldict/files/patch-Makefile

Modified: head/devel/pure-stldict/Makefile
==============================================================================
--- head/devel/pure-stldict/Makefile	Thu Jan 21 01:42:54 2016	(r406818)
+++ head/devel/pure-stldict/Makefile	Thu Jan 21 03:27:36 2016	(r406819)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pure-stldict
-PORTVERSION=	0.5
-PORTREVISION=	4
+PORTVERSION=	0.8
 CATEGORIES=	devel
 MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
 DIST_SUBDIR=	pure
@@ -14,9 +13,8 @@ COMMENT=	Pure interface to C++ STL map/u
 LICENSE=	GPLv3 LGPL3
 LICENSE_COMB=	dual
 
-USES=		pure
+USES=		pkgconfig pure
 
-USE_GCC=	yes
 CXXFLAGS+=	-std=c++0x -DHAVE_STD_IS_PERMUTATION
 
 PORTDOCS=	README

Modified: head/devel/pure-stldict/distinfo
==============================================================================
--- head/devel/pure-stldict/distinfo	Thu Jan 21 01:42:54 2016	(r406818)
+++ head/devel/pure-stldict/distinfo	Thu Jan 21 03:27:36 2016	(r406819)
@@ -1,2 +1,2 @@
-SHA256 (pure/pure-stldict-0.5.tar.gz) = 3c12b4e15d79955e28d025d62525685e3bdbf4a07a3849cffad82eeb578e022b
-SIZE (pure/pure-stldict-0.5.tar.gz) = 64968
+SHA256 (pure/pure-stldict-0.8.tar.gz) = 5b894ae6dc574c7022258e2732bea649c82c959ec4d0be13fb5a3e8ba8488f28
+SIZE (pure/pure-stldict-0.8.tar.gz) = 69024

Modified: head/devel/pure-stldict/files/patch-Makefile
==============================================================================
--- head/devel/pure-stldict/files/patch-Makefile	Thu Jan 21 01:42:54 2016	(r406818)
+++ head/devel/pure-stldict/files/patch-Makefile	Thu Jan 21 03:27:36 2016	(r406819)
@@ -1,27 +1,11 @@
---- ./Makefile.orig	2012-03-22 19:47:34.000000000 +0100
-+++ ./Makefile	2014-01-04 17:44:05.000000000 +0100
-@@ -4,11 +4,11 @@
- 
- # platform-specific setup
- 
--DLL         = $(shell pkg-config pure --variable DLL)
--PIC         = $(shell pkg-config pure --variable PIC)
--shared      = $(shell pkg-config pure --variable shared)
-+DLL         = .so
-+PIC         = -fPIC
-+shared      = -shared
- 
--libdir      = $(shell pkg-config pure --variable libdir)
-+libdir      = $(prefix)/lib
- installdir  = $(addprefix $(DESTDIR), $(libdir)/pure)
- 
- MOD_CXXFLAGS  = $(PIC) $(shell pkg-config pure --cflags) $(CXXFLAGS) $(CPPFLAGS)
-@@ -25,7 +25,7 @@
+--- Makefile.orig	2016-01-21 03:17:01 UTC
++++ Makefile
+@@ -30,7 +30,7 @@ objects = $(patsubst %.cc, %$(DLL), $(cp
  all: $(objects)
  
  %$(DLL): %.cc
--	g++ $(shared) -o $@ $(MOD_CXXFLAGS) $< $(MOD_LDFLAGS) $(LIBS)
-+	$(CXX) $(shared) $(CPPFLAGS) $(CXXFLAGS) $(PIC) $< -o $@ $(LDFLAGS) -lpure $(LIBS)
+-	g++ $(shared) $(dllname) -o $@ $(MOD_CXXFLAGS) $< $(MOD_LDFLAGS) $(LIBS)
++	$(CXX) $(shared) $(dllname) -o $@ $(MOD_CXXFLAGS) $< $(MOD_LDFLAGS) $(LIBS)
  
  clean:
  	rm -f *.o *$(DLL) examples/life *~



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601210327.u0L3RbjC045317>