diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-12-06 20:51:35 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-12-06 20:51:35 +0000 |
commit | 7942dd2449fea628d646fef732e70ef0026b2c54 (patch) | |
tree | a9d74795da68d0df72aa0bbe0e01fddc959c63d8 /x11 | |
parent | 3c1196fc4a5dc34f6ec5d59b105147fbf3c9686d (diff) | |
download | ports-7942dd2449fea628d646fef732e70ef0026b2c54.tar.gz ports-7942dd2449fea628d646fef732e70ef0026b2c54.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kde4-workspace/Makefile | 10 | ||||
-rw-r--r-- | x11/kdebase4-workspace/Makefile | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile index 57793b747341..ff79b5fb3fac 100644 --- a/x11/kde4-workspace/Makefile +++ b/x11/kde4-workspace/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdebase-workspace PORTVERSION= ${KDE4_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src @@ -18,7 +19,6 @@ COMMENT= Basic applications for the KDE system LIB_DEPENDS= qimageblitz.4:${PORTSDIR}/x11/qimageblitz\ dbus-1.3:${PORTSDIR}/devel/dbus \ - utempter:${PORTSDIR}/sysutils/libutempter \ hal.1:${PORTSDIR}/sysutils/hal \ polkit-qt-core.0:${PORTSDIR}/sysutils/policykit-qt \ xklavier.12:${PORTSDIR}/x11/libxklavier @@ -66,6 +66,10 @@ CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \ LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .endif +.if ${OSVERSION} < 900004 +LIB_DEPENDS+= utempter:${PORTSDIR}/sysutils/libutempter +.endif + post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/startkde.cmake \ @@ -83,10 +87,12 @@ pre-configure: redmond/redmond.cpp ${REINPLACE_CMD} -e 's|<qdrawutil.h>|<QtGui/qdrawutil.h>|'\ ${PATCH_WRKSRC}/kwin/clients/${item} +.endfor +.if ${OSVERSION} < 900004 ${REINPLACE_CMD} -e 's|addToUtmp ""|addToUtmp "${LOCALBASE}/lib"|' \ -e 's|(utempter.h|(${LOCALBASE}/include/utempter.h|' \ ${PATCH_WRKSRC}/kwrited/CMakeLists.txt -.endfor +.endif post-install: ${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \ diff --git a/x11/kdebase4-workspace/Makefile b/x11/kdebase4-workspace/Makefile index 57793b747341..ff79b5fb3fac 100644 --- a/x11/kdebase4-workspace/Makefile +++ b/x11/kdebase4-workspace/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdebase-workspace PORTVERSION= ${KDE4_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src @@ -18,7 +19,6 @@ COMMENT= Basic applications for the KDE system LIB_DEPENDS= qimageblitz.4:${PORTSDIR}/x11/qimageblitz\ dbus-1.3:${PORTSDIR}/devel/dbus \ - utempter:${PORTSDIR}/sysutils/libutempter \ hal.1:${PORTSDIR}/sysutils/hal \ polkit-qt-core.0:${PORTSDIR}/sysutils/policykit-qt \ xklavier.12:${PORTSDIR}/x11/libxklavier @@ -66,6 +66,10 @@ CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \ LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .endif +.if ${OSVERSION} < 900004 +LIB_DEPENDS+= utempter:${PORTSDIR}/sysutils/libutempter +.endif + post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/startkde.cmake \ @@ -83,10 +87,12 @@ pre-configure: redmond/redmond.cpp ${REINPLACE_CMD} -e 's|<qdrawutil.h>|<QtGui/qdrawutil.h>|'\ ${PATCH_WRKSRC}/kwin/clients/${item} +.endfor +.if ${OSVERSION} < 900004 ${REINPLACE_CMD} -e 's|addToUtmp ""|addToUtmp "${LOCALBASE}/lib"|' \ -e 's|(utempter.h|(${LOCALBASE}/include/utempter.h|' \ ${PATCH_WRKSRC}/kwrited/CMakeLists.txt -.endfor +.endif post-install: ${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \ |