Re: 'make upgrade' deletes /usr/bin/perl5

看板DFBSD_bugs作者時間21年前 (2005/01/26 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/11 (看更多)
On Wed, 26 Jan 2005, Joerg Sonnenberger wrote: > No script should depend on /usr/bin/perl5. That's just wrong. > Check why the port does include such a setting, it should just > use /usr/bin/perl, if it really has to. Okay, the Makefile for glib2 has this line: USE_PERL5= yes In /usr/ports/Mk/bsd.port.mk I see these lines: ..if ${PERL_LEVEL} < 500600 PERL5= /usr/bin/perl${PERL_VERSION} And in our DFly override: /usr/share/mk/bsd.port.mk:PERL_LEVEL?= 5 But look at this definition: /usr/ports/Mk/bsd.port.mk:# PERL_LEVEL - Perl version as an integer of the form MNNNPP So it looks to me like our /usr/share/mk/bsd.port.mk should be defining PERL_LEVEL as six digits instead of one (?) The result is that /usr/local/bin/glib-mkenums contains this: #!/usr/bin/perl5 -w and the same is true for FreeBSD-CURRENT.
文章代碼(AID): #11zoGR00 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #11zoGR00 (DFBSD_bugs)