summaryrefslogtreecommitdiff
path: root/sysutils/xosview
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-05-08 21:00:38 +0000
committerhubertf <hubertf>1998-05-08 21:00:38 +0000
commitc8ff179c7511b65e97a3fcd3ba5458d1e7aaba95 (patch)
tree161ac87f73b1bd91e2a21de737b59fd852b94bf4 /sysutils/xosview
parent6876f66f9a0de8872182da37eb31f8d775f93036 (diff)
downloadpkgsrc-c8ff179c7511b65e97a3fcd3ba5458d1e7aaba95.tar.gz
Fix lossage with WRKOBJDIR and PKGSRCDIR
Diffstat (limited to 'sysutils/xosview')
-rw-r--r--sysutils/xosview/Makefile4
-rw-r--r--sysutils/xosview/patches/patch-ae2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile
index 2b8ad93f64a..98bcd46323c 100644
--- a/sysutils/xosview/Makefile
+++ b/sysutils/xosview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/04/15 10:38:50 agc Exp $
+# $NetBSD: Makefile,v 1.10 1998/05/08 21:00:38 hubertf Exp $
#
DISTNAME= xosview-1.5.1
@@ -11,7 +11,7 @@ GNU_CONFIGURE= yes
USE_X11= yes
MAN1= xosview.1
-MAKE_ENV+= UVM=${UVM}
+MAKE_ENV+= UVM=${UVM} PKGSRCDIR=${PKGSRCDIR}
MAKE_FLAGS= ARCH=${ARCH} -f
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/xosview/patches/patch-ae b/sysutils/xosview/patches/patch-ae
index 0f9b52ddd86..2d3e8171b8a 100644
--- a/sysutils/xosview/patches/patch-ae
+++ b/sysutils/xosview/patches/patch-ae
@@ -4,7 +4,7 @@
CXXFLAGS += -I@top_srcdir@
-+.include "../../../../../mk/bsd.pkg.subdir.mk"
++.include "${PKGSRCDIR}/mk/bsd.pkg.subdir.mk"
+.if (${ARCH} == "hp300")
+CXXFLAGS += -D_HP300_CPU_H_
+.endif