aboutsummaryrefslogtreecommitdiff
path: root/devel/codeblocks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/codeblocks/Makefile')
-rw-r--r--devel/codeblocks/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
index 7c5261b3f7ea..a3cd3597e415 100644
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -3,7 +3,7 @@
PORTNAME= codeblocks
PORTVERSION= 13.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}-1
@@ -19,23 +19,24 @@ LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \
libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell \
librsync.so:${PORTSDIR}/net/librsync
-USES= compiler desktop-file-utils fam:gamin pathfix pkgconfig shared-mime-info
+USES= compiler desktop-file-utils fam:gamin libtool pathfix \
+ pkgconfig shared-mime-info
USE_WX= 2.8
WANT_UNICODE= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=all
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
INSTALLS_ICONS= yes
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
.if ${CHOSEN_COMPILER_TYPE} == clang
-CXXFLAGS+= -std=c++0x
+USE_CXXSTD= c++11
.endif
-CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=all
-
.include <bsd.port.post.mk>