diff --git a/net/cifs-utils/smbuild b/net/cifs-utils/smbuild index 4ebd2bc..76b899f 100644 --- a/net/cifs-utils/smbuild +++ b/net/cifs-utils/smbuild @@ -21,16 +21,14 @@ prepbuilddir() { build() { ./configure \ - --prefix=/usr + --prefix=/usr \ + --sbindir=/usr/bin make - make install DESTDIR=$pkg + make install ROOTSBINDIR=/usr/bin DESTDIR=$pkg cp COPYING $pkgdocs/ - # ./configure doesn't care if you change --sbindir to /bin, so we move mount.cifs manually - mkdir -p $pkg/bin ; mv $pkg/sbin/* $pkg/bin/ ; rmdir $pkg/sbin - mkfinalpkg } diff --git a/net/dhcpcd/smbuild b/net/dhcpcd/smbuild index 76f32a9..71e08e6 100644 --- a/net/dhcpcd/smbuild +++ b/net/dhcpcd/smbuild @@ -19,7 +19,8 @@ prepbuilddir() { build() { ./configure \ --prefix=/usr \ - --sbindir=/bin \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ --libexecdir=/usr/lib/dhcpcd \ --datadir=/usr/share \ --mandir=/usr/share/man \ diff --git a/net/openssh/smbuild b/net/openssh/smbuild index 82e1fcb..acc20c5 100644 --- a/net/openssh/smbuild +++ b/net/openssh/smbuild @@ -24,10 +24,9 @@ prepbuilddir() { build() { CFLAGS+=" -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \ ./configure \ - --prefix= \ - --bindir=/bin \ - --sbindir=/bin \ - --libexecdir=/lib/ssh \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --libexecdir=/usr/libexec/ssh \ --sysconfdir=/etc/ssh \ --with-privsep-user=nobody --with-privsep-path=/var/empty --with-xauth="$pkg/bin/xauth" \ --without-stackprotect --with-md5-passwords --with-mantype=man \ diff --git a/net/wavemon/smbuild b/net/wavemon/smbuild index e20dd50..71bf8a5 100644 --- a/net/wavemon/smbuild +++ b/net/wavemon/smbuild @@ -27,8 +27,8 @@ build() { make install DESTDIR=$pkg ( - mv $pkg/share/wavemon/* $pkgdocs/ - rmdir $pkg/share/wavemon + mv $pkg/usr/share/wavemon/* $pkgdocs/ + rmdir $pkg/usr/share/wavemon ) mkfinalpkg diff --git a/net/znc/smbuild b/net/znc/smbuild index 0111e12..2584015 100644 --- a/net/znc/smbuild +++ b/net/znc/smbuild @@ -18,9 +18,8 @@ prepbuilddir() { build() { ./configure \ - --prefix=/etc \ + --prefix=/usr \ --sysconfdir=/etc \ - --mandir=/share/man \ --disable-charset \ --enable-openssl