aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/lensfun03/doinst.sh6
-rw-r--r--graphics/lensfun03/douninst.sh5
-rw-r--r--graphics/lensfun03/lensfun03.SlackBuild10
3 files changed, 3 insertions, 18 deletions
diff --git a/graphics/lensfun03/doinst.sh b/graphics/lensfun03/doinst.sh
deleted file mode 100644
index 12d19ea52a28d..0000000000000
--- a/graphics/lensfun03/doinst.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-# Update all the shared library links:
-if [ -x /sbin/ldconfig ]; then
- echo "Updating shared library links: /sbin/ldconfig"
- /sbin/ldconfig 2>/dev/null
-fi
-
diff --git a/graphics/lensfun03/douninst.sh b/graphics/lensfun03/douninst.sh
deleted file mode 100644
index 2adf7cb85ef7c..0000000000000
--- a/graphics/lensfun03/douninst.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Update all the shared library links:
-if [ -x /sbin/ldconfig ]; then
- echo "Updating shared library links: /sbin/ldconfig"
- /sbin/ldconfig 2>/dev/null
-fi
diff --git a/graphics/lensfun03/lensfun03.SlackBuild b/graphics/lensfun03/lensfun03.SlackBuild
index 7e49d773322a5..d0e56962c9898 100644
--- a/graphics/lensfun03/lensfun03.SlackBuild
+++ b/graphics/lensfun03/lensfun03.SlackBuild
@@ -21,12 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230510 bkw: BUILD=2, get rid of /etc/ld.so.conf.d/
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lensfun03
SRCNAM=lensfun
VERSION=${VERSION:-0.3.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -118,14 +120,8 @@ if [ -r ChangeLog ]; then
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
-# So ld can find our version when linking
-mkdir -p $PKG/etc/ld.so.conf.d/
-echo /opt/$PRGNAM/lib$LIBDIRSUFFIX > $PKG/etc/ld.so.conf.d/$PRGNAM.conf
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE