make ports depending on sysutils/cdrtools* USE_GNOME=cdrools
Slaven Rezic
slaven at rezic.de
Tue Oct 31 20:04:11 UTC 2006
Norikatsu Shigemura <nork at FreeBSD.org> writes:
> >Submitter-Id: current-users
> >Originator: Norikatsu Shigemura
> >Organization: Ensure Technology LTD.
> >Confidential: no
> >Synopsis: make ports depending on sysutils/cdrtools* USE_GNOME=cdrtools
> >Severity: serious
> >Priority: medium
> >Category: ports
> >Class: sw-bug
> >Release: FreeBSD 6.2-PRERELEASE i386
> >Environment:
> System: FreeBSD melfina.ninth-nine.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #32: Sun Oct 22 05:57:55 JST 2006 nork at melfina.ninth-nine.com:/usr/obj/usr/src/sys/MELFINA i386
>
> >Description:
> Some ports depending on sysutils/cdrtools and some ports dependeing
> on sysutils/cdrtools-cjk are conflicted. So I want to integrate to
> USE_GNOME= cdrtools and OPTIONify WITH_CJK.
>
> >How-To-Repeat:
> cd /usr/ports/sysutils/gnomebaker; make install WITH_CJK
> And, after portupgrade GNOME applications.
>
> # portversion -L =
> [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - xxx packages found (-x +x) . done]
> Stale dependency: XXX-x.xx.xx -> cdrtools-2.01_5 -- manually run 'pkgdb -F' to fix, or specify -O to force.
>
> >Fix:
>
>
> --- cdrtools.diff begins here ---
[...]
> Index: misc/lesspipe/Makefile
> ===================================================================
> RCS file: /home/ncvs/ports/misc/lesspipe/Makefile,v
> retrieving revision 1.3
> diff -u -r1.3 Makefile
> --- misc/lesspipe/Makefile 17 Apr 2006 16:46:42 -0000 1.3
> +++ misc/lesspipe/Makefile 31 Oct 2006 13:31:16 -0000
> @@ -27,11 +27,11 @@
> dvi2tty:${PORTSDIR}/print/dvi2tty \
> pstotext:${PORTSDIR}/print/pstotext \
> mp3info:${PORTSDIR}/audio/mp3info \
> - isoinfo:${PORTSDIR}/sysutils/cdrtools \
> cabextract:${PORTSDIR}/archivers/cabextract
> .endif
>
> USE_PERL5= yes
> +USE_GNOME= cdrtools
>
> NO_BUILD= yes
> HAS_CONFIGURE= yes
I would prefer to have USE_GNOME=cdrtools inside the
.if defined(WITH_FANCY) block.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
tksm - Perl/Tk program for searching and replacing in multiple files
http://ptktools.sourceforge.net/#tksm
More information about the freebsd-ports
mailing list