pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/help2man converters/help2man: only replace ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e63a09ec2f76
branches: trunk
changeset: 428408:e63a09ec2f76
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Apr 27 17:09:12 2020 +0000
description:
converters/help2man: only replace SOEXT if it can have an effect
diffstat:
converters/help2man/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 1e45e7b12311 -r e63a09ec2f76 converters/help2man/Makefile
--- a/converters/help2man/Makefile Mon Apr 27 17:03:43 2020 +0000
+++ b/converters/help2man/Makefile Mon Apr 27 17:09:12 2020 +0000
@@ -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= 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+= 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}
Home |
Main Index |
Thread Index |
Old Index