svn commit: r336599 - head/devel/loki
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 16 00:04:51 UTC 2013
Author: bapt
Date: Mon Dec 16 00:04:50 2013
New Revision: 336599
URL: http://svnweb.freebsd.org/changeset/ports/336599
Log:
Support stage
Fix build on head
Respect CXXFLAGS
Modified:
head/devel/loki/Makefile
head/devel/loki/pkg-descr
Modified: head/devel/loki/Makefile
==============================================================================
--- head/devel/loki/Makefile Sun Dec 15 23:46:53 2013 (r336598)
+++ head/devel/loki/Makefile Mon Dec 16 00:04:50 2013 (r336599)
@@ -7,24 +7,29 @@ CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}-lib/Loki/Loki%20${PORTVERSION}
MAINTAINER= snnn119 at gmail.com
-COMMENT= A C++ library of common design patterns
+COMMENT= C++ library of common design patterns
-USE_DOS2UNIX= yes
-USE_GMAKE= yes
+USES= gmake dos2unix
USE_LDCONFIG= yes
+CXXFLAGS+= -Wno-return-type
+
DOCS= README CHANGES doc/flex/flex_string.html \
doc/yasli/Notes.txt \
doc/yasli/yasli.html
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} 's/bad_function_call/Loki::bad_function_call/g' \
+ ${WRKSRC}/test/Function/FunctionTest.cpp
+ @${REINPLACE_CMD} -e '/CXXWARNFLAGS/s/$$/ ${CXXFLAGS}/g' \
+ -e 's/\$${PREFIX}/$${DESTDIR}$${PREFIX}/g' \
+ ${WRKSRC}/Makefile.common
+
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
- ${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.pre.mk>
Modified: head/devel/loki/pkg-descr
==============================================================================
--- head/devel/loki/pkg-descr Sun Dec 15 23:46:53 2013 (r336598)
+++ head/devel/loki/pkg-descr Mon Dec 16 00:04:50 2013 (r336599)
@@ -1,5 +1,4 @@
A C++ library of designs, containing flexible implementations of
common design patterns and idioms.
-
WWW: http://sourceforge.net/projects/loki-lib/
More information about the svn-ports-head
mailing list