diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-02-06 04:58:56 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-02-06 04:58:56 +0800 |
commit | 15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6 (patch) | |
tree | 041172cdc60cdee5f02b4cad928fc17f943febdf /multimedia/gstreamer-plugins | |
parent | f34780e18f350847bb9f1a9d230bc03f3f2eff28 (diff) | |
download | marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.tar marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.tar.gz marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.tar.bz2 marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.tar.lz marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.tar.xz marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.tar.zst marcuscom-ports-15a7f82ed5c5e5b32a9db14f9a6ec8fa90d1c2d6.zip |
Protect the do-build and do-install targets with .if !target to avoid
duplication.
Reported by: tmclaugh
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5632 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common index 72b1df31c..44a1e8880 100644 --- a/multimedia/gstreamer-plugins/Makefile.common +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -1,5 +1,5 @@ # $FreeBSD$ -# $MCom$ +# $MCom: ports/multimedia/gstreamer-plugins/Makefile.common,v 1.32 2006/01/21 23:55:31 ahze Exp $ # base BASE_GST_ALL_PLUGINS= \ alsa \ @@ -344,15 +344,19 @@ WRKSRC=${WRKDIR}/${GOOD_DISTNAME} BUILD_DEPENDS+= gstreamer-plugins>=${GST_VERSION}${GST_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins RUN_DEPENDS+= gstreamer-plugins>=${GST_VERSION}${GST_MINOR_VERSION}:${PORTSDIR}/multimedia/gstreamer-plugins +.if !target(do-build) do-build: .for dir in ${GST_PREBUILD_DIR} ${GST_PLUGIN_DIR} ${GST_POSTBUILD_DIR} @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} .endfor +.endif +.if !target(do-install) do-install: .for dir in ${GST_PLUGIN_DIR} @cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} .endfor .endif +.endif |