textproc/discount: Convert REINPLACE_CMD to patch file

This commit is contained in:
Po-Chuan Hsieh 2021-04-26 04:12:27 +08:00
parent 87e9a560e9
commit 686f85208f
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 10 additions and 3 deletions

View file

@ -39,9 +39,6 @@ EXTRA_CONFIGURE_ON= --with-dl=both --with-fenced-code --with-github-tags --with-
SAMPLES_INSTALL_TARGET= install.samples
TAB8_CONFIGURE_ON= --with-tabstops=8
post-configure:
@${REINPLACE_CMD} -e 's|/sbin/ldconfig|#&|' ${WRKSRC}/librarian.sh
post-install:
${INSTALL_DATA} ${WRKSRC}/libmarkdown.a ${STAGEDIR}${PREFIX}/lib/libmarkdown.a
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmarkdown.so

View file

@ -0,0 +1,10 @@
--- configure.inc.orig 2020-08-24 05:45:49 UTC
+++ configure.inc
@@ -1501,7 +1501,6 @@ install)$PROG_INSTALL -c \$FULLNAME "\$1"
$PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME.\$MAJOR
$PROG_LN_S -f \$FULLNAME \$1/\$LIBNAME
EOF
- test "$LDCONFIG" && echo ' '$LDCONFIG '"$1"' >> librarian.sh
cat >> librarian.sh << EOF
;;
esac