aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-10 01:56:22 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-13 19:27:33 +0700
commit984ddb88667497f500370b2d693c2a3a3d55fa39 (patch)
treefe2ff60d0e370d939ca51cdfb96215e8b664bdf8 /graphics
parent1048b78d633e680b3851799bbf956836f25575bc (diff)
graphics/lensfun03: Remove ld.so.conf.d.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-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 12d19ea52a28..000000000000
--- 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 2adf7cb85ef7..000000000000
--- 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 7e49d773322a..d0e56962c989 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