Skip to content

Commit 47deafd

Browse files
author
Christian Hergert
committed
build: add even more hack to this very ugly shell script.
1 parent 198cd89 commit 47deafd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/solaris10/buildpkg.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export PKG_CONFIG_PATH="/usr/lib/${ARCH64}/pkgconfig"
9393
export SASL_CFLAGS="-I/usr/include"
9494
export SASL_LIBS="-L/usr/lib/${ARCH64} -lsasl"
9595
export CFLAGS="-m64"
96-
./configure "--prefix=${DIR}/usr" "--libdir=${DIR}/usr/lib/${ARCH64}" --enable-debug-symbols --enable-sasl --enable-ssl --disable-static --disable-silent-rules --enable-maintainer-flags --with-libbson=bundled
96+
./configure "--prefix=${DIR}/usr" "--libdir=${DIR}/usr/lib/${ARCH64}" --enable-debug-symbols --enable-sasl --enable-ssl --disable-static --disable-silent-rules --enable-maintainer-flags --with-libbson=bundled --enable-man-pages
9797
make
9898
make install
9999

@@ -104,7 +104,7 @@ make install
104104
cd "${DIR}"
105105
perl -p -i -e "s#${DIR}##g" usr/lib/pkgconfig/*.pc usr/lib/${ARCH64}/pkgconfig/*.pc
106106
echo "i pkginfo" > Prototype
107-
find "usr/" | grep -v bin$ | grep -v lib$ | grep -v include$ | grep -v share$ | grep -v doc$ | grep -v usr/$ | grep -v amd64$ | grep -v sparcv9$ | grep -v pkgconfig$ | pkgproto >> Prototype
107+
find "usr/" | grep -v bin$ | grep -v lib$ | grep -v include$ | grep -v share$ | grep -v doc$ | grep -v usr/$ | grep -v amd64$ | grep -v sparcv9$ | grep -v pkgconfig$ | pkgproto | perl -p -i -e "s/${USER}/root/g" | perl -p -i -e "s/ other/ root/g" >> Prototype
108108
PSTAMP=$(date +%d%b%y)
109109

110110
cat <<EOF > pkginfo

0 commit comments

Comments
 (0)