summaryrefslogtreecommitdiff
path: root/converters/help2man
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-04-27 17:09:12 +0000
committerrillig <rillig@pkgsrc.org>2020-04-27 17:09:12 +0000
commit0322f622f6b248a896ea43c7ff8b9baa69051c3c (patch)
treeb6af168d40c3725d004383d6a980a87ce6f0ba62 /converters/help2man
parentc189051ed79ba9438218a445cbcb315d1a7bd50d (diff)
downloadpkgsrc-0322f622f6b248a896ea43c7ff8b9baa69051c3c.tar.gz
converters/help2man: only replace SOEXT if it can have an effect
Diffstat (limited to 'converters/help2man')
-rw-r--r--converters/help2man/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index c410762d156..8c88755882b 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2020/03/15 23:09:56 adam Exp $
+# $NetBSD: Makefile,v 1.55 2020/04/27 17:09:12 rillig Exp $
DISTNAME= help2man-1.47.13
CATEGORIES= converters
@@ -39,6 +39,7 @@ SOEXT= sl
SOEXT= so
.endif
+.if ${SOEXT} != so
SUBST_CLASSES+= soext
SUBST_MESSAGE.soext= Fixing shared library suffix
SUBST_STAGE.soext= pre-configure
@@ -46,6 +47,7 @@ SUBST_FILES.soext= bindtextdomain.c
SUBST_FILES.soext+= Makefile.in
SUBST_SED.soext+= -e 's,bindtextdomain\.so,bindtextdomain.${SOEXT},g'
SUBST_SED.soext+= -e 's,$$(preload)\.so,$$(preload).${SOEXT},g'
+.endif
PLIST_SUBST+= SOEXT=${SOEXT}