summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2002-09-20 16:02:10 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2002-09-20 16:02:10 +0000
commite3a69541d2b5fde0ae7e737e6e70632b8370a8d4 (patch)
tree69e4904ed552e5869fb7f3271cecc5f116ccb6f5 /editors
parentUpdate to 4.1b (diff)
Change two targets 'pre-build:' to 'pre-build::'
because the second pre-build target is ignored. Submitted by: kris (I modified a patch submitted by kris)
Notes
Notes: svn path=/head/; revision=66855
Diffstat (limited to 'editors')
-rw-r--r--editors/mule-common/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/editors/mule-common/Makefile b/editors/mule-common/Makefile
index 72e58c50eff8..e97a80f5ce36 100644
--- a/editors/mule-common/Makefile
+++ b/editors/mule-common/Makefile
@@ -50,17 +50,6 @@ MULEPKG?= ${dir:S,editors/,,:S,chinese/,zh-,:S,japanese/,ja-,:S,korean/,ko-,}-${
WRKSRC= ${WRKDIR}/mule-${MULE_VERSION}-${EMACS_VERSION}
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/mule.sh
-.if !defined(WRKDIR)
-.if defined(PACKAGE_BUILDING)
-# XXX
-WRKDIR= ${WRKDIRBASE}/editors/mule/work
-pre-build:
- @cd ${.CURDIR}/../mule; make
-.else
-BROKEN= First you should build install a port for mule except mule-common
-.endif
-.endif
-
EXTRACT_COOKIE= ${WRKDIR}/.extract_done.${MULEPKG}
CONFIGURE_COOKIE= ${WRKDIR}/.configure_done.${MULEPKG}
BUILD_COOKIE= ${WRKDIR}/.build_done.${MULEPKG}
@@ -116,7 +105,18 @@ post-patch:
.endif
.endif
-pre-build:
+.if !defined(WRKDIR)
+.if defined(PACKAGE_BUILDING)
+# XXX
+WRKDIR= ${WRKDIRBASE}/editors/mule/work
+pre-build::
+ @cd ${.CURDIR}/../mule; make
+.else
+BROKEN= First you should build install a port for mule except mule-common
+.endif
+.endif
+
+pre-build::
find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
${RM} -f ${WRKSRC}/etc/DOC* ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VERSION}.*