Ran into some problems trying to compile phonon on a fresh system here, turns out ${LOCALBASE}/include was not in the list of cmake header directories to include. I've fixed this in the Makefile attached.

--

Kris Moore
PC-BSD Software
http://www.pcbsd.com
# New ports collection Makefile for:    phonon
# Date created:                         2008-01-30
# Whom:                                 Martin Wilke <[EMAIL PROTECTED]>
#
# $FreeBSD$

PORTNAME=       phonon
PORTVERSION=    4.1.83
CATEGORIES=     multimedia kde ipv6
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=     unstable/4.0.83/support/
DIST_SUBDIR=    KDE

MAINTAINER=     [EMAIL PROTECTED]
COMMENT=        KDE phonon applications

RUN_DEPENDS+=   ${LOCALBASE}/kde4/bin/automoc4:${PORTSDIR}/misc/automoc
BUILD_DEPENDS+= ${LOCALBASE}/kde4/bin/automoc4:${PORTSDIR}/misc/automoc

#XXX: Dependency on kdelibs4 missing
USE_BZIP2=      yes
USE_KDE4=       #
USE_KDE4_BUILD= yes
USE_QT_VER=     4
QT_COMPONENTS=  corelib opengl moc rcc uic dbus qt3support designer network svg 
qtestlib

post-extract:
        ${MKDIR} ${WRKSRC}

pre-configure:
        ${REINPLACE_CMD} -e 's|{QT_INCLUDES}|{QT_INCLUDES} 
${LOCALBASE}/include|'\
            ${WRKSRC}/../CMakeLists.txt

.include <bsd.port.mk>
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd

Reply via email to