1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/kdesdk4/Makefile
Gerald Pfeifer 3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00

96 lines
2.4 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= kdesdk
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Software Development Kit
LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion \
boost_thread:${PORTSDIR}/devel/boost-libs \
hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \
qca.2:${PORTSDIR}/devel/qca
BUILD_DEPENDS= ${LOCALBASE}/include/ltdl.h:${PORTSDIR}/devel/libltdl
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LATEST_LINK= ${PORTNAME}4
CONFLICTS= kdeutils-4.5.[0-5]
USE_XZ= yes
USE_GNOME= libxml2 libxslt
USE_KDE4= kdehier kdelibs kdeprefix libkonq pimlibs sharedmime \
akonadi automoc4 qimageblitz_build strigi
USES= cmake:outsource perl5 gmake
USE_QT4= corelib dbus declarative designer gui qt3support \
script scripttools sql xml \
qmake_build moc_build rcc_build uic_build uic3_build
USE_LDCONFIG= yes
CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
MAN1= adddebug.1 \
cervisia.1 \
cheatmake.1 \
create_cvsignore.1 \
create_makefile.1 \
create_makefiles.1 \
cvscheck.1 \
cvslastchange.1 \
cvslastlog.1 \
cvsrevertlast.1 \
cxxmetric.1 \
extend_dmalloc.1 \
extractrc.1 \
fixincludes.1 \
po2xml.1 \
pruneemptydirs.1 \
qtdoc.1 \
reportview.1 \
split2po.1 \
swappo.1 \
transxx.1 \
xml2pot.1 \
zonetab2pot.py.1
OPTIONS_DEFINE= ANTLR KATE KATE_PATE
OPTIONS_DEFAULT= KATE
ANTLR_DESC= Support for po2xml and swappo tools
KATE_DESC= Install Kate advanced text editor
KATE_PATE_DESC= Support for Python plugins in Kate
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MANTLR}
BUILD_DEPENDS+= antlr:${PORTSDIR}/devel/antlr
RUN_DEPENDS+= antlr:${PORTSDIR}/devel/antlr
PLIST_SUB+= ANTLR=""
.else
CMAKE_ARGS+= -DWITH_Antlr2:BOOL=off
PLIST_SUB+= ANTLR="@comment "
.endif
.if ${PORT_OPTIONS:MKATE}
USE_KDE4+= kate_run
.endif
.if ${PORT_OPTIONS:MKATE_PATE}
RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/pateplugin.so:${PORTSDIR}/editors/kate-plugin-pate
.endif
post-patch:
${FIND} ${WRKSRC}/scripts -type f | \
${XARGS} ${REINPLACE_CMD} -Ee 's,/usr/bin/(perl|python|ruby|svn),${LOCALBASE}/bin/\1,g'
# Prevent updating MIME during build.
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
${PATCH_WRKSRC}/okteta/mimetypes/CMakeLists.txt
.include <bsd.port.mk>