aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-05-07 01:16:05 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-05-07 01:16:05 +0800
commit4f8e233aae5f58a01bd5f904c98a9229ba7d64a3 (patch)
tree55fad4ea6da365b26e53e65d1b053ddec6016512
parentb58577b2155ab5edc946be0a36c492236a8f6311 (diff)
downloadfreebsd-ports-gnome-4f8e233aae5f58a01bd5f904c98a9229ba7d64a3.tar.gz
freebsd-ports-gnome-4f8e233aae5f58a01bd5f904c98a9229ba7d64a3.tar.zst
freebsd-ports-gnome-4f8e233aae5f58a01bd5f904c98a9229ba7d64a3.zip
- Fix shebang line for users without USE_PERL=yes
PR: ports/177481 Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net>
-rw-r--r--ftp/pure-ftpd/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index de4b8937e3e2..d8c0f96ec9c7 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -167,8 +167,7 @@ pre-fetch:
@${ECHO_MSG} ""
post-patch:
- @${REINPLACE_CMD} -e 's|$${exec_prefix}|${PREFIX}|g' \
- ${WRKSRC}/configuration-file/pure-config.pl.in
+ @${REINPLACE_CMD} -e 's|@PERL@|${PERL}|; s|$${exec_prefix}|${PREFIX}|g' ${WRKSRC}/configuration-file/pure-config.pl.in
post-install:
${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${PREFIX}/etc/pureftpd-ldap.conf.sample