forked from Lainports/freebsd-ports
textproc/discount: Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
87e9a560e9
commit
686f85208f
2 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
10
textproc/discount/files/patch-configure.inc
Normal file
10
textproc/discount/files/patch-configure.inc
Normal 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
|
||||
Loading…
Add table
Reference in a new issue