diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-08 19:32:11 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-08 19:32:11 +0800 |
commit | 385eac9654e9de3b90ce25e1efffa8c08a547655 (patch) | |
tree | 9c130b083139cc77280c7e96cc9cea75a84d2d4c /x11-toolkits | |
parent | f2d169546a0f3c0e7fb3d21a855ac4b44aae5036 (diff) | |
download | freebsd-ports-gnome-385eac9654e9de3b90ce25e1efffa8c08a547655.tar.gz freebsd-ports-gnome-385eac9654e9de3b90ce25e1efffa8c08a547655.tar.zst freebsd-ports-gnome-385eac9654e9de3b90ce25e1efffa8c08a547655.zip |
Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build
it brings bison as a run dependency in case it is set the following way:
USES= bison:run
it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both
While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/libgnomeprintui/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/libgnomeui/Makefile | 11 | ||||
-rw-r--r-- | x11-toolkits/libwnck/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/libzvt/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/vte/Makefile | 10 |
5 files changed, 16 insertions, 34 deletions
diff --git a/x11-toolkits/libgnomeprintui/Makefile b/x11-toolkits/libgnomeprintui/Makefile index 81bd23bff645..4fa8322ae923 100644 --- a/x11-toolkits/libgnomeprintui/Makefile +++ b/x11-toolkits/libgnomeprintui/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: libgnomeprintui -# Date created: 12 April 2002 -# Whom: Maxim Sobolev <sobomax@FreBSD.org> -# +# Created by: Maxim Sobolev <sobomax@FreBSD.org> # $FreeBSD$ # $MCom: ports/x11-toolkits/libgnomeprintui/Makefile,v 1.75 2010/09/28 16:07:36 kwm Exp $ -# PORTNAME= libgnomeprintui PORTVERSION= 2.18.6 @@ -22,7 +18,8 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc USE_BZIP2= yes USE_XORG= x11 xpm USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack libgnomeprint libgnomecanvas \ +USES= bison pathfix +USE_GNOME= gnomeprefix libgnomeprint libgnomecanvas \ intlhack ltverhack USE_GETTEXT= yes USE_LDCONFIG= yes diff --git a/x11-toolkits/libgnomeui/Makefile b/x11-toolkits/libgnomeui/Makefile index a3ad217a65bf..76754a89c7f5 100644 --- a/x11-toolkits/libgnomeui/Makefile +++ b/x11-toolkits/libgnomeui/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: libgnomeui -# Date created: 07 April 2002 -# Whom: Joe Marcus Clarke <marcus@FreBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreBSD.org> # $FreeBSD$ # $MCom: ports/x11-toolkits/libgnomeui/Makefile,v 1.129 2010/09/27 20:16:41 kwm Exp $ -# PORTNAME= libgnomeui PORTVERSION= 2.24.4 @@ -27,11 +23,12 @@ RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-i USE_GETTEXT= yes USE_XORG= sm USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack gnomehier libbonoboui ltverhack \ +USES= bison pathfix +USE_GNOME= gnomeprefix gnomehier libbonoboui ltverhack \ referencehack gvfs USE_LDCONFIG= yes USE_AUTOTOOLS= libtool -USE_BISON= build + CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CPPFLAGS+= -I${LOCALBASE}/include diff --git a/x11-toolkits/libwnck/Makefile b/x11-toolkits/libwnck/Makefile index 5427129f79a1..a0fb35fe56b1 100644 --- a/x11-toolkits/libwnck/Makefile +++ b/x11-toolkits/libwnck/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: libwnck -# Date created: 12 April 2002 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ # $MCom: ports/x11-toolkits/libwnck/Makefile,v 1.133 2010/11/17 11:38:29 kwm Exp $ -# PORTNAME= libwnck PORTVERSION= 2.30.6 @@ -26,8 +22,8 @@ RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection USE_GETTEXT= yes USE_XORG= xres USE_GMAKE= yes -USE_GNOME= gnomehack gtk20 ltverhack referencehack intlhack -USE_BISON= build +USES= bison pathfix +USE_GNOME= gtk20 ltverhack referencehack intlhack USE_LDCONFIG= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc diff --git a/x11-toolkits/libzvt/Makefile b/x11-toolkits/libzvt/Makefile index 94be4964bc4b..0cd5087458a8 100644 --- a/x11-toolkits/libzvt/Makefile +++ b/x11-toolkits/libzvt/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: libzvt -# Date created: 12 April 2002 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ -# PORTNAME= libzvt PORTVERSION= 2.0.1 @@ -18,10 +14,10 @@ COMMENT= Library components for Zed's Virtual Terminal USE_BZIP2= yes USE_XORG= x11 USE_GMAKE= yes -USE_BISON= build +USES= bison pathfix USE_LDCONFIG= yes USE_AUTOTOOLS= libtool -USE_GNOME= gnomeprefix gnomehack gtk20 libartlgpl2 +USE_GNOME= gnomeprefix gtk20 libartlgpl2 CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile index e649299f74dc..289a0b0e315f 100644 --- a/x11-toolkits/vte/Makefile +++ b/x11-toolkits/vte/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: vte -# Date created: 05 October 2002 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ # $MCom: ports/x11-toolkits/vte/Makefile,v 1.117 2010/11/13 13:16:58 kwm Exp $ -# PORTNAME= vte PORTVERSION= 0.26.2 @@ -21,11 +17,11 @@ USE_BZIP2= yes .if !defined(REFERENCE_PORT) USE_GMAKE= yes -USE_BISON= build +USES= bison pathfix USE_LDCONFIG= yes USE_AUTOTOOLS= libtool USE_GETTEXT= yes -USE_GNOME?= gnomeprefix gnomehack gtk20 ltverhack referencehack +USE_GNOME?= gnomeprefix gtk20 ltverhack referencehack CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" |