diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-08 21:02:12 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-08 21:02:12 +0800 |
commit | 9b203d3c49438e112d4a9aef71f8b5471b1ff767 (patch) | |
tree | 7b53f45738a3eb9e5870684eb15338bb28ca241d /editors | |
parent | a9e861f3917846aa6c90ae840306b73945f08d8b (diff) | |
download | freebsd-ports-gnome-9b203d3c49438e112d4a9aef71f8b5471b1ff767.tar.gz freebsd-ports-gnome-9b203d3c49438e112d4a9aef71f8b5471b1ff767.tar.zst freebsd-ports-gnome-9b203d3c49438e112d4a9aef71f8b5471b1ff767.zip |
- Fix build with custom LOCALBASE
- make our configure script a little verbose
Reported by: QATty
Diffstat (limited to 'editors')
-rw-r--r-- | editors/ted/Makefile | 5 | ||||
-rw-r--r-- | editors/ted/files/configure | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile index 3d27f76504ce..1ee2a1cab345 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -35,10 +35,11 @@ INDDIR= ${PREFIX}/share/Ted/ind post-extract: cd ${WRKSRC}/tedPackage && ${TAR} xf TedBindist.tar - -post-patch: ${CP} -p ${FILESDIR}/configure ${WRKSRC}/configure ${CHMOD} +x ${WRKSRC}/configure + +post-patch: + ${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/*/configure ${REINPLACE_CMD} \ 's|DEF_PKGDIR|DEF_DOCUMENT_DIR|g' ${WRKSRC}/Ted/makefile.in diff --git a/editors/ted/files/configure b/editors/ted/files/configure index 126cf6a0306e..0e35ea185431 100644 --- a/editors/ted/files/configure +++ b/editors/ted/files/configure @@ -1,10 +1,9 @@ -@ -0,0 +1,10 @@ #!/bin/sh dirs="Ted appFrame appUtil bitmap ind libreg tedPackage" for d in $dirs; do - (cd $d && ./configure $*) + (cd $d && echo -n "./configure $* in:" && pwd && ./configure $*) if [ $? != 0 ]; then exit $? fi |