"You want to make it reference ${LOCALBASE}/bin/bash. Remember, ports

assume dependencies are installed in ${LOCALBASE} or ${X11BASE}."
That says it all.

Obtained from:	Pete Fritchman <petef@databits.net>
This commit is contained in:
Andreas Klemm 2001-12-18 08:26:36 +00:00
parent ef79928b8f
commit 3a582d6a09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51727
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
+++ bin/aps2file Mon Dec 17 19:36:33 2001
@@ -1,4 +1,4 @@
-#!/bin/sh
+#! !!PREFIX!!/bin/bash
+#! !!LOCALBASE!!/bin/bash
#
# $ApsCVS: src/apsfilter/bin/aps2file,v 1.1 2001/11/17 15:21:52 andreas Exp $
#

View file

@ -1,5 +1,5 @@
#! /bin/sh
perl -pi -e "s|!!PREFIX!!|$PREFIX|" ${WRKSRC}/bin/aps2file
perl -pi -e "s|!!LOCALBASE!!|$LOCALBASE|" ${WRKSRC}/bin/aps2file
exit 0