Unbreak kde-dev-scripts (draw_lib_dependencies)
Feedback and OK jca@
This commit is contained in:
parent
6808802a98
commit
168a973418
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2021/04/27 05:26:59 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2021/05/11 13:20:14 rsadowski Exp $
|
||||
|
||||
COMMENT = KDE development helper scripts
|
||||
DISTNAME = kde-dev-scripts-${VERSION}
|
||||
CATEGORIES = devel
|
||||
REVISION = 0
|
||||
|
||||
HOMEPAGE = https://kde.org/applications/development/
|
||||
|
||||
@ -12,7 +13,8 @@ MODKDE5_DOCS = yes
|
||||
MODULES += lang/python \
|
||||
perl
|
||||
|
||||
RUN_DEPENDS = math/graphviz
|
||||
RUN_DEPENDS = math/graphviz \
|
||||
shells/bash
|
||||
|
||||
MODPERL_ADJ_FILES = \
|
||||
colorsvn \
|
||||
@ -43,4 +45,7 @@ MODPY_ADJ_FILES = \
|
||||
reviewboard-am \
|
||||
zonetab2pot.py \
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/draw_lib_dependencies
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-draw_lib_dependencies,v 1.1 2021/05/11 13:20:14 rsadowski Exp $
|
||||
|
||||
|
||||
Index: draw_lib_dependencies
|
||||
--- draw_lib_dependencies.orig
|
||||
+++ draw_lib_dependencies
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!${LOCALBASE}/bin/bash
|
||||
|
||||
# Copyright 2013 Dominik Seichter <domseichter@googlemail.com>
|
||||
#
|
||||
@@ -95,7 +95,7 @@ analyze()
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- DEPPATH=$(grep -- "$DEP" "$LDDTMPFILE" | awk '{print $3}')
|
||||
+ DEPPATH=$(grep -- "$DEP" "$LDDTMPFILE" | awk '{print $7}')
|
||||
if [ -n "$DEPPATH" ];
|
||||
then
|
||||
echo " \"$NAME\" -> \"$DEP\";" >> $OUT
|
Loading…
Reference in New Issue
Block a user