diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-04 15:12:57 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-10-04 15:12:57 +0000 |
commit | deab9494fa6cf32254d135ebd75d00f544208751 (patch) | |
tree | 9ca8c8a43c7a2bd2362c9a2c25b2248ef64a0861 /lang | |
parent | Add games hierarchy. (diff) |
These are my changes to support the new argument-less configure scripts.
Notes
Notes:
svn path=/head/; revision=170
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 4 | ||||
-rw-r--r-- | lang/p2c/scripts/configure | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/lang/Makefile b/lang/Makefile index 71ebce9933fc..c05a52b11ba0 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,5 +1,5 @@ -# $Id$ +# $Id: Makefile,v 1.3 1994/08/23 10:20:23 jkh Exp $ # -SUBDIR= tcl tclX +SUBDIR= p2c tcl tclX .include <bsd.port.subdir.mk> diff --git a/lang/p2c/scripts/configure b/lang/p2c/scripts/configure index 5ff74d5135f5..eab3c4597275 100644 --- a/lang/p2c/scripts/configure +++ b/lang/p2c/scripts/configure @@ -1,16 +1,14 @@ #!/bin/sh -if [ $# != 3 ]; then exit 1; fi - -cat >>$3/Makefile <<END || exit 1; +cat >>${WRKSRC}/Makefile <<END || exit 1; all: cd src; make OPT=-O END -mv $3/src/p2cc.perl $3/src/p2cc.perl.orig || exit 1; -sed -e 1s/--.*// < $3/src/p2cc.perl.orig > $3/src/p2cc.perl || exit 1; +mv ${WRKSRC}/src/p2cc.perl ${WRKSRC}/src/p2cc.perl.orig || exit 1; +sed -e 1s/--.*// < ${WRKSRC}/src/p2cc.perl.orig > ${WRKSRC}/src/p2cc.perl || exit 1; -cat >>$3/src/Makefile <<END || exit 1; +cat >>${WRKSRC}/src/Makefile <<END || exit 1; HOMEDIR=/usr/local/lib/p2c INCDIR=/usr/local/include/p2c BINDIR=/usr/local/bin |