aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2013-01-27 01:19:03 +0800
committernobutaka <nobutaka@FreeBSD.org>2013-01-27 01:19:03 +0800
commita3882bf0e5291aac4090d483e1e38fd30007a563 (patch)
tree48d6f08da6277842e3830e59de525fec8c576aa3
parent4524bac7ea0b52b43624f3ecb41bd0501173e91b (diff)
downloadfreebsd-ports-gnome-a3882bf0e5291aac4090d483e1e38fd30007a563.tar.gz
freebsd-ports-gnome-a3882bf0e5291aac4090d483e1e38fd30007a563.tar.zst
freebsd-ports-gnome-a3882bf0e5291aac4090d483e1e38fd30007a563.zip
Fix build error when WRKDIRPREFIX is set.
PR: ports/173573 Submitted by: Joel Ray Holveck <joelh@piquan.org>
-rw-r--r--editors/semi/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/semi/Makefile b/editors/semi/Makefile
index 195d94a56ee3..874fc394e60f 100644
--- a/editors/semi/Makefile
+++ b/editors/semi/Makefile
@@ -76,35 +76,35 @@ MAKEINFO_EMACS_FLAGS= -e texinfo-format-buffer -f save-buffer
pre-build:
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
- @${MAKE} pkg-el-copy
+ @${MAKE} -C ${.CURDIR} pkg-el-copy
.endif
post-build:
.if defined(BUILD_INFO_BY_EMACS) && (${BUILD_INFO_BY_EMACS} == "YES")
- @${MAKE} info-build-by-emacs
+ @${MAKE} -C ${.CURDIR} info-build-by-emacs
.else
- @${MAKE} info-build
+ @${MAKE} -C ${.CURDIR} info-build
.endif
pre-install:
.if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
- @${MAKE} mkdir-site-packages
+ @${MAKE} -C ${.CURDIR} mkdir-site-packages
.endif
.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
- @${MAKE} pkg-el-install
+ @${MAKE} -C ${.CURDIR} pkg-el-install
.endif
post-install:
@${MKDIR} ${LOCALBASE}/share/semi
@${TOUCH} ${LOCALBASE}/share/semi/${SEMI_COOKIE}
.if defined(EMACS_PACKAGESDIR) && defined(MANIFEST)
- @${MAKE} info-package-install
- @${MAKE} manifest-install
+ @${MAKE} -C ${.CURDIR} info-package-install
+ @${MAKE} -C ${.CURDIR} manifest-install
.else
- @${MAKE} info-install
+ @${MAKE} -C ${.CURDIR} info-install
.endif
.if ${PORT_OPTIONS:MDOCS}
- @${MAKE} doc-install
+ @${MAKE} -C ${.CURDIR} doc-install
.endif
###############################################################################