diff options
author | rillig <rillig@pkgsrc.org> | 2020-04-27 17:09:12 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-04-27 17:09:12 +0000 |
commit | 0322f622f6b248a896ea43c7ff8b9baa69051c3c (patch) | |
tree | b6af168d40c3725d004383d6a980a87ce6f0ba62 /converters/help2man | |
parent | c189051ed79ba9438218a445cbcb315d1a7bd50d (diff) | |
download | pkgsrc-0322f622f6b248a896ea43c7ff8b9baa69051c3c.tar.gz |
converters/help2man: only replace SOEXT if it can have an effect
Diffstat (limited to 'converters/help2man')
-rw-r--r-- | converters/help2man/Makefile | 4 |
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} |