aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.emacs.mk
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-08-04 12:34:50 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-08-04 12:34:50 +0000
commit50513d5d5238ab12e0e327b93bf433d7d288aeeb (patch)
treea01dbbed0a08990ed895d4f97017c2593d8d7172 /Mk/bsd.emacs.mk
parenta72afe28c2216c151a1fc5aa900c8abf9c7a709e (diff)
downloadports-50513d5d5238ab12e0e327b93bf433d7d288aeeb.tar.gz
ports-50513d5d5238ab12e0e327b93bf433d7d288aeeb.zip
Notes
Diffstat (limited to 'Mk/bsd.emacs.mk')
-rw-r--r--Mk/bsd.emacs.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.emacs.mk b/Mk/bsd.emacs.mk
index 50fd78040662..daf615496247 100644
--- a/Mk/bsd.emacs.mk
+++ b/Mk/bsd.emacs.mk
@@ -1,5 +1,5 @@
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.57 2006-05-16 17:11:20 anray Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.58 2006-08-04 12:34:41 erwin Exp $
#
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
#
@@ -236,8 +236,8 @@ check-makevars::
# find where emacsen is installed
# look for it in PREEFIX first and fall back to LOCALBASE then
-.if exists(${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER})
-EMACS_BASE?= ${PREFIX}
+.if exists(${TARGETDIR}/bin/${EMACS_NAME}-${EMACS_VER})
+EMACS_BASE?= ${DESTDIR}${PREFIX}
.else
EMACS_BASE?= ${LOCALBASE}
.endif