summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-01-16 08:42:22 +0000
committerhubertf <hubertf>1998-01-16 08:42:22 +0000
commit15080e11b7173e0d9d5e379982937878279d3f77 (patch)
treed8f322388831ca63933f490f19f918534a1b55e4 /plan9
parente889b3a1a369ca4e6c22a82bda4effa5b65a40a8 (diff)
downloadpkgsrc-15080e11b7173e0d9d5e379982937878279d3f77.tar.gz
Don't use hardcoded "work" dirname, but use ${WRKDIR:T} instead (and
pass in via MAKE_ENV).
Diffstat (limited to 'plan9')
-rw-r--r--plan9/9term/Makefile5
-rw-r--r--plan9/9term/patches/patch-aa2
-rw-r--r--plan9/9term/patches/patch-ab2
3 files changed, 5 insertions, 4 deletions
diff --git a/plan9/9term/Makefile b/plan9/9term/Makefile
index ad39cde7c59..6404a63f3eb 100644
--- a/plan9/9term/Makefile
+++ b/plan9/9term/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1997/10/17 13:03:49 hubertf Exp $
+# $NetBSD: Makefile,v 1.4 1998/01/16 08:42:22 hubertf Exp $
# New ports collection makefile for: 9term
# Version required: 1.6.3
# Date created: Sun Aug 13 12:36:14 CDT 1995
@@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
MAINTAINER= erich@FreeBSD.org
# needs library and private header, but not during runtime
-BUILD_DEPENDS= ${PORTSDIR}/plan9/sam/work/libframe/libframe.a:${PORTSDIR}/plan9/sam
+BUILD_DEPENDS= ${PORTSDIR}/plan9/sam/${WRKDIR:T}/libframe/libframe.a:${PORTSDIR}/plan9/sam
OPSYS!= uname -s
.if (${OPSYS} == "NetBSD")
@@ -25,5 +25,6 @@ MANCOMPRESSED= yes
MAN1= 9term.1
NO_WRKSUBDIR= yes
+MAKE_ENV+= WRKDIR=${WRKDIR}
.include <bsd.port.mk>
diff --git a/plan9/9term/patches/patch-aa b/plan9/9term/patches/patch-aa
index 8c712c55977..b8ca9a80055 100644
--- a/plan9/9term/patches/patch-aa
+++ b/plan9/9term/patches/patch-aa
@@ -6,7 +6,7 @@
# if your compiler supports posix-compatible compilation
-OS=-DSOLARIS
+OS=-DSUNOS -O2
-+SAMDIR=../../../sam/work
++SAMDIR=../../../sam/${WRKDIR:T}
# add -Iincludedir for any include directories that need to be searched
# for posix header files
diff --git a/plan9/9term/patches/patch-ab b/plan9/9term/patches/patch-ab
index e0e00578e59..a0c1cc7e61b 100644
--- a/plan9/9term/patches/patch-ab
+++ b/plan9/9term/patches/patch-ab
@@ -92,7 +92,7 @@
-BINDIR=/usr/pgrad/matty/bin/$(cputype)
+OS= -D_LIBXG_EXTENSION -DSUNOS
+
-+SAMPATH=../../../sam/work
++SAMPATH=../../../sam/${WRKDIR:T}
+
+BINDIR=. # where we'll install it