mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-25 21:07:40 +00:00
Unluckily FreeBSD's shell isn't able to read from/write to /dev/stdin
and stdout. Therefore we have to use bash as shell for /usr/local/bin/aps2file program. Arrange things with patch and pre-configure command, so that this port stays prefix-clean. The patch inserts !!PREFIX!!/bin/bash and configure configures in the current PREFIX settings. I'd whish somebody could fix our shell to remove the dependency from bash.
This commit is contained in:
parent
577224d162
commit
4c3cb8b3d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51679
@ -87,6 +87,9 @@ RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter
|
||||
RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter
|
||||
.endif
|
||||
|
||||
# needed for aps2file :-/
|
||||
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash2
|
||||
|
||||
MAN1= apsfilter.1
|
||||
MAN5= apsfilterrc.5
|
||||
|
||||
|
8
print/apsfilter/files/patch-bin::aps2file
Normal file
8
print/apsfilter/files/patch-bin::aps2file
Normal file
@ -0,0 +1,8 @@
|
||||
--- bin/aps2file.orig Mon Dec 17 19:35:50 2001
|
||||
+++ bin/aps2file Mon Dec 17 19:36:33 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#! !!PREFIX!!/bin/bash
|
||||
#
|
||||
# $ApsCVS: src/apsfilter/bin/aps2file,v 1.1 2001/11/17 15:21:52 andreas Exp $
|
||||
#
|
5
print/apsfilter/scripts/pre-configure
Normal file
5
print/apsfilter/scripts/pre-configure
Normal file
@ -0,0 +1,5 @@
|
||||
#! /bin/sh
|
||||
|
||||
perl -pi -e "s|!!PREFIX!!|$PREFIX|" ${WRKSRC}/bin/aps2file
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user