cvs commit: ports/editors/textroom Makefile

Emanuel Haupt ehaupt at FreeBSD.org
Fri May 7 14:07:23 UTC 2010


Max Brazhnikov <makc at issp.ac.ru> wrote:
> On Fri, 7 May 2010 12:34:43 +0000 (UTC), Emanuel Haupt wrote:
> > ehaupt      2010-05-07 12:34:43 UTC
> > 
> >   FreeBSD ports repository
> > 
> >   Modified files:
> >     editors/textroom     Makefile
> >   Log:
> >   Fix hardcoded references to /usr/share
> > 
> >   PR:             146368
> >   Submitted by:   Michael James Brune <admin at mjbrune.org>
> > (maintainer)
> > 
> >   Revision  Changes    Path
> >   1.2       +5 -1      ports/editors/textroom/Makefile
> 
> Needless changes. files/patch* already make the port to respect both
> LOCALBASE and PREFIX. I've sent a mail to maintainer about my
> correction to the port, but my mailserver failed to deliver it:

Then your patch was incomplete:

root at portjail:/usr/ports/editors/textroom # make patch
===>  Vulnerability check disabled, database not found
===>  Extracting for textroom-0.6.3.2_1
=> MD5 Checksum OK for textroom-0.6.3.2.tar.gz.
=> SHA256 Checksum OK for textroom-0.6.3.2.tar.gz.
===>  Patching for textroom-0.6.3.2_1
===>  Applying FreeBSD patches for textroom-0.6.3.2_1
root at portjail:/usr/ports/editors/textroom # grep -r '/usr/share' work/textroom | grep -v bak | grep -v orig 
work/textroom/src/textroom.cpp:        soundenter = Mix_LoadWAV("/usr/share/sounds/keyenter.wav");
work/textroom/src/textroom.cpp:        soundany = Mix_LoadWAV("/usr/share/sounds/keyany.wav");
work/textroom/src/textroom.cpp:                    affFile = (char *) "/usr/share/myspell/dicts/en_US.aff";
work/textroom/src/textroom.cpp:                    dicFile = (char *) "/usr/share/myspell/dicts/en_US.dic";
work/textroom/src/textroom.cpp:                    affFile = (char *) "/usr/share/myspell/dicts/tr.aff";
work/textroom/src/textroom.cpp:                    dicFile = (char *) "/usr/share/myspell/dicts/tr.dic";
work/textroom/resource/desktop/textroom-uninstall:xdg-mime uninstall /usr/share/textroom/textroom-txr-mime.xml
work/textroom/resource/desktop/textroom-uninstall:sudo rm -f /usr/share/textroom/keyenter.wav
work/textroom/resource/desktop/textroom-uninstall:sudo rm -f /usr/share/textroom/keyany.wav
work/textroom/resource/desktop/textroom-uninstall:sudo rm -f /usr/share/applications/textroom.desktop
work/textroom/resource/desktop/textroom-uninstall:sudo rm -f /usr/share/textroom/textroom-txr-mime.xml
work/textroom/resource/desktop/textroom-uninstall:sudo rm -r -f /usr/share/textroom


More information about the cvs-all mailing list