FreeBSD Bugzilla – Attachment 22740 Details for
Bug 39376
Additional knob for port devel/kdevelop: port could be build for KDE 2.2.x TOO!
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.75 KB, created by
lev
on 2002-06-16 20:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
lev
Created:
2002-06-16 20:40:01 UTC
Size:
2.75 KB
patch
obsolete
>diff -ruN kdevelop.orig/Makefile kdevelop/Makefile >--- kdevelop.orig/Makefile Sun Jun 16 23:18:21 2002 >+++ kdevelop/Makefile Sun Jun 16 23:26:59 2002 >@@ -5,13 +5,22 @@ > # $FreeBSD: ports/devel/kdevelop/Makefile,v 1.46 2002/06/15 16:16:04 will Exp $ > # > >+FOR_KDE?= 3 >+ > PORTNAME= kdevelop > PORTVERSION= 2.1.1 > CATEGORIES?= devel kde > MASTER_SITES= ${MASTER_SITE_KDE} > MASTER_SITE_SUBDIR= stable/3.0.1/src > DIST_SUBDIR= KDE >+ >+.if ${FOR_KDE} == 3 > DISTNAME= ${PORTNAME}-${PORTVERSION}_for_KDE_3.0 >+MD5_FILE= ${MASTERDIR}/distinfo.kde3 >+.elif ${FOR_KDE} == 2 >+DISTNAME= ${PORTNAME}-${PORTVERSION}_for_KDE_2.2 >+MD5_FILE= ${MASTERDIR}/distinfo.kde2 >+.endif > > MAINTAINER?= kde@FreeBSD.org > >@@ -19,14 +28,14 @@ > .if defined(WITH_OPTIONAL_DEPENDS) > RUN_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf \ > automake:${PORTSDIR}/devel/automake \ >- kiconedit:${PORTSDIR}/graphics/kdegraphics3 \ >- ark:${PORTSDIR}/misc/kdeutils3 \ >+ kiconedit:${PORTSDIR}/graphics/kdegraphics${FOR_KDE} \ >+ ark:${PORTSDIR}/misc/kdeutils${FOR_KDE} \ > glimpse:${PORTSDIR}/textproc/glimpse \ >- kbabel:${PORTSDIR}/devel/kdesdk3 \ >+ kbabel:${PORTSDIR}/devel/kdesdk${FOR_KDE} \ > a2ps:${PORTSDIR}/print/a2ps-letter > .endif > >-USE_KDELIBS_VER=3 >+USE_KDELIBS_VER=${FOR_KDE} > USE_BZIP2= yes > USE_GMAKE= yes > GNU_CONFIGURE= yes >@@ -35,6 +44,20 @@ > CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} > > pre-everything:: >+.if ${FOR_KDE} == 3 >+ @${ECHO_MSG} >+ @${ECHO_MSG} "You selected to build KDevelop ${PORTVERSION} for KDE 3.x >+ @${ECHO_MSG} "If you want KDevelop for KDE 2.2.x, please run make with >+ @${ECHO_MSG} >+.elif ${FOR_KDE} == 2 >+ @${ECHO_MSG} >+ @${ECHO_MSG} "You selected to build KDevelop ${PORTVERSION} for KDE 2.2.x >+ @${ECHO_MSG} "If you want KDevelop for KDE 3.x, please run make with >+ @${ECHO_MSG} "FOR_KDE=3 parameter" >+ @${ECHO_MSG} >+.else >+BROKEN= "Please, select FOR_KDE version 2 or 3" >+.endif > .if !defined(WITH_OPTIONAL_DEPENDS) > @${ECHO_MSG} > @${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)" >diff -ruN kdevelop.orig/distinfo kdevelop/distinfo >--- kdevelop.orig/distinfo Sun Jun 16 23:18:21 2002 >+++ kdevelop/distinfo Thu Jan 1 03:00:00 1970 >@@ -1 +0,0 @@ >-MD5 (KDE/kdevelop-2.1.1_for_KDE_3.0.tar.bz2) = eea8e3b3b3d3bb88933185b3bdf29d75 >diff -ruN kdevelop.orig/distinfo.kde2 kdevelop/distinfo.kde2 >--- kdevelop.orig/distinfo.kde2 Thu Jan 1 03:00:00 1970 >+++ kdevelop/distinfo.kde2 Sun Jun 16 23:27:14 2002 >@@ -0,0 +1 @@ >+MD5 (KDE/kdevelop-2.1.1_for_KDE_2.2.tar.bz2) = c41db80c84e57d1184dcf4eb40b26e11 >diff -ruN kdevelop.orig/distinfo.kde3 kdevelop/distinfo.kde3 >--- kdevelop.orig/distinfo.kde3 Thu Jan 1 03:00:00 1970 >+++ kdevelop/distinfo.kde3 Sun Jun 16 11:33:15 2002 >@@ -0,0 +1 @@ >+MD5 (KDE/kdevelop-2.1.1_for_KDE_3.0.tar.bz2) = eea8e3b3b3d3bb88933185b3bdf29d75
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39376
: 22740