aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-07 17:05:45 +0800
committermiwi <miwi@FreeBSD.org>2006-08-07 17:05:45 +0800
commit5940b11271b2074f016c2f87e3dbb6ef141220c5 (patch)
tree789746285c69423a4df2c0c9471098452d1c57ad
parente4ceadae5397bbfb4b12424e54841c336f4ae20b (diff)
downloadfreebsd-ports-gnome-5940b11271b2074f016c2f87e3dbb6ef141220c5.tar.gz
freebsd-ports-gnome-5940b11271b2074f016c2f87e3dbb6ef141220c5.tar.zst
freebsd-ports-gnome-5940b11271b2074f016c2f87e3dbb6ef141220c5.zip
- Fix build on 4.x [1]
- Respect DESTDIR Submitted by: pointyhat via kris [1] Approved by: krion (mentor)
-rw-r--r--misc/ttyrec/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/ttyrec/Makefile b/misc/ttyrec/Makefile
index b53c9907d083..7219089552af 100644
--- a/misc/ttyrec/Makefile
+++ b/misc/ttyrec/Makefile
@@ -14,6 +14,8 @@ MASTER_SITES= http://0xcc.net/ttyrec/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tty recorder
+USE_GCC= 3.4+
+
MAN1= ttyplay.1 ttyrec.1
post-patch:
@@ -22,7 +24,7 @@ post-patch:
do-install:
.for file in ttyrec ttyplay ttytime
- ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${TARGETDIR}/bin
.endfor
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1