aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.emacs.mk
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:37:24 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-08-04 11:37:24 +0000
commit4c9cd257fd4e6eca46807a43e128d298429ee3cd (patch)
treeb6dad92780476834e2a43796a5d329f00474a4dd /Mk/bsd.emacs.mk
parent04d8dc46d4afe253e7ac755b746bdf806be86f24 (diff)
downloadports-4c9cd257fd4e6eca46807a43e128d298429ee3cd.tar.gz
ports-4c9cd257fd4e6eca46807a43e128d298429ee3cd.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 f0b85db02a83..a13bac292e35 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.67 2007-07-16 18:05:18 nobutaka Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.emacs.mk,v 1.68 2007-08-04 11:37:23 gabor Exp $
#
# bsd.emacs.mk - 19990829 Shigeyuki Fukushima.
#
@@ -255,8 +255,8 @@ check-makevars::
# find where emacsen is installed
# look for it in PREEFIX first and fall back to LOCALBASE then
-.if exists(${TARGETDIR}/bin/${EMACS_NAME}-${EMACS_VER})
-EMACS_BASE?= ${TARGETDIR}
+.if exists(/bin/${EMACS_NAME}-${EMACS_VER})
+EMACS_BASE?= ${PREFIX}
.else
EMACS_BASE?= ${LOCALBASE}
.endif