mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
515db2ed10
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so GCC-based systems will upgrade to the default ports compiler (GCC 4.7 currently.) Add two patches to OpenEXR to permit building it in a live system with the older OpenEXR version installed. Bug report filed to upstream Github at https://github.com/openexr/openexr/issues/130 Couple OpenEXR more tightly to ilmbase and require its exact .so version. Add UPDATING note, and bump PORTREVISION of all dependent ports. Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer. Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: Hannes Hauswedell <hannes.hauswedell@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kports
|
|
PORTVERSION= 0.8.2
|
|
PORTREVISION= 8
|
|
CATEGORIES= ports-mgmt kde
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= h2+fbsdports@fsfe.org
|
|
COMMENT= Qt4-Version of your favorite frontend to the Ports
|
|
|
|
RUN_DEPENDS= portaudit:${PORTSDIR}/ports-mgmt/portaudit \
|
|
uma:${PORTSDIR}/sysutils/bsdadminscripts
|
|
|
|
CONFLICTS= kports-0.[0-7]*
|
|
|
|
USES= qmake tar:bzip2
|
|
USE_QT4= corelib gui network moc_build uic_build rcc_build
|
|
|
|
OPTIONS_DEFINE= DEBUG OXYGEN KDEBASE
|
|
OPTIONS_DEFAULT= OXYGEN KDEBASE
|
|
OXYGEN_DESC= Pull in Oxygen icons (recommended)
|
|
OXYGEN_USE= KDE4=oxygen
|
|
KDEBASE_DESC= Pull in kdebase-runtime for kdesu
|
|
KDEBASE_USE= KDE4=runtime
|
|
|
|
.if defined(WITH_PKGNG)
|
|
IGNORE= only works with traditional pkg-tools
|
|
.endif
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/data/kports.desktop
|
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
|
pre-configure:
|
|
@(${ECHO_CMD} "CONFIG += debug" >> ${WRKSRC}/src/src.pro)
|
|
@(${ECHO_CMD} "CONFIG -= release warn_off" >> ${WRKSRC}/src/src.pro)
|
|
@(${ECHO_CMD} "CONFIG += debug warn_on" >> ${WRKSRC}/src/src.pro)
|
|
@(${ECHO_CMD} "DEFINES -= QT_NO_DEBUG_OUTPUT" >> ${WRKSRC}/src/src.pro)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|