summaryrefslogtreecommitdiff
path: root/office/pstoedit/pstoedit.SlackBuild
diff options
context:
space:
mode:
authorPedro Mendes <pedro@gepasi.org>2020-05-23 03:10:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-23 09:32:01 +0700
commitd9389051a48b81cd59497e4c6c80846d8dc0208d (patch)
tree69c46fe5e12307107d210cc0266128c648965bfc /office/pstoedit/pstoedit.SlackBuild
parent89fce5ed064428b2c428d5183ef98559e2a11079 (diff)
downloadslackbuilds-d9389051a48b81cd59497e4c6c80846d8dc0208d.tar.gz
office/pstoedit: Added configure options.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pstoedit/pstoedit.SlackBuild')
-rw-r--r--office/pstoedit/pstoedit.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild
index 1448d71c5f..c1af1c9913 100644
--- a/office/pstoedit/pstoedit.SlackBuild
+++ b/office/pstoedit/pstoedit.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=pstoedit
VERSION=${VERSION:-3.70}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,13 +77,16 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --with-gnu-ld \
+ --enable-shared \
+ --disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done