Index: head/devel/pure-stldict/Makefile =================================================================== --- head/devel/pure-stldict/Makefile (revision 406818) +++ head/devel/pure-stldict/Makefile (revision 406819) @@ -1,35 +1,33 @@ # Created by: Zhihao Yuan # $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 MAINTAINER= lichray@gmail.com COMMENT= Pure interface to C++ STL map/unordered_map LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual -USES= pure +USES= pkgconfig pure -USE_GCC= yes CXXFLAGS+= -std=c++0x -DHAVE_STD_IS_PERMUTATION PORTDOCS= README PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/devel/pure-stldict/distinfo =================================================================== --- head/devel/pure-stldict/distinfo (revision 406818) +++ head/devel/pure-stldict/distinfo (revision 406819) @@ -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 Index: head/devel/pure-stldict/files/patch-Makefile =================================================================== --- head/devel/pure-stldict/files/patch-Makefile (revision 406818) +++ head/devel/pure-stldict/files/patch-Makefile (revision 406819) @@ -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 *~