Browse Source

Fixed sed line

master
fiorile 3 months ago
parent
commit
025844a0fb
  1. 2
      neetbsd.sh

2
neetbsd.sh

@ -46,7 +46,7 @@ else
cd /tmp cd /tmp
tar xfv xdiskusage-1.60.tgz # Extract tar xfv xdiskusage-1.60.tgz # Extract
cd xdiskusage-1.60 cd xdiskusage-1.60
sed -i's/(__APPLE__)/(__NetBSD__)/g' xdiskusage.C <<'END' # 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'

Loading…
Cancel
Save