diff options
author | taoka <taoka@FreeBSD.org> | 2002-09-21 00:02:10 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2002-09-21 00:02:10 +0800 |
commit | 48a87824861824993a02a6d31f60487c4004f1f8 (patch) | |
tree | e24295396f2d8cb0c7aa425244820ca454c49ca0 /editors | |
parent | ed4e647f60a3680b45670521d512cfab20ad1703 (diff) | |
download | freebsd-ports-gnome-48a87824861824993a02a6d31f60487c4004f1f8.tar.gz freebsd-ports-gnome-48a87824861824993a02a6d31f60487c4004f1f8.tar.zst freebsd-ports-gnome-48a87824861824993a02a6d31f60487c4004f1f8.zip |
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)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/mule-common/Makefile | 24 |
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}.* |