Browse Source

Note for a bug

master
fiorile 3 months ago
parent
commit
194f3cc93d
  1. 2
      neetbsd.sh

2
neetbsd.sh

@ -49,7 +49,7 @@ else
sed -i 's/(__APPLE__)/(__NetBSD__)/g' xdiskusage.C # sed replacing 'APPLE' with 'NetBSD' sed -i 's/(__APPLE__)/(__NetBSD__)/g' xdiskusage.C # sed replacing 'APPLE' with 'NetBSD'
# ^ xdiskusage now acts like the FreeBSD version - probably hacky, but it seems functional # ^ xdiskusage now acts like the FreeBSD version - probably hacky, but it seems functional
# Configure, compile, install, clean # Configure, compile, install, clean
./configure && make CPPFLAGS=-I/usr/pkg/include -I/usr/X11R7/include && su root -c 'make install clean' ./configure && make CPPFLAGS=-I/usr/pkg/include -I/usr/X11R7/include && su root -c 'make install clean' # ERR: The two -I are buggy
# .desktop # .desktop
su root -c 'printf "[Desktop Entry]\nType=Application\nName=xdiskusage\nComment=Graphical disk usage program\nTerminal=false\nTryExec=xdiskusage\nExec=/usr/local/bin/xdiskusage\nCategories=Utility" > /usr/share/applications/xdiskusage.desktop' su root -c 'printf "[Desktop Entry]\nType=Application\nName=xdiskusage\nComment=Graphical disk usage program\nTerminal=false\nTryExec=xdiskusage\nExec=/usr/local/bin/xdiskusage\nCategories=Utility" > /usr/share/applications/xdiskusage.desktop'
cd .. # Go back to /tmp cd .. # Go back to /tmp

Loading…
Cancel
Save