diff options
author | tron <tron> | 2011-06-24 13:04:43 +0000 |
---|---|---|
committer | tron <tron> | 2011-06-24 13:04:43 +0000 |
commit | 72c0b1f8c259ee3b271d8b291160bb844a521117 (patch) | |
tree | 177f6f66c7553b1120bd1c1cda8ebfc5dea11b4e /multimedia/xvidcore/Makefile | |
parent | d24023e17f86dc86c5a33d40e470a5f462aa736b (diff) | |
download | pkgsrc-72c0b1f8c259ee3b271d8b291160bb844a521117.tar.gz |
Fix abuse of "WRKSRC" which must not be set to a sub directory of the
source tree that actually gets built. This will various checks that
get performed to check for problems with the built (e.g. work
directory references).
As a side effect the problem with GNU patch 2.5.8 gets fixed as well.
Diffstat (limited to 'multimedia/xvidcore/Makefile')
-rw-r--r-- | multimedia/xvidcore/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/multimedia/xvidcore/Makefile b/multimedia/xvidcore/Makefile index 90585d43e71..06b54087ef2 100644 --- a/multimedia/xvidcore/Makefile +++ b/multimedia/xvidcore/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2011/06/24 09:03:32 tron Exp $ +# $NetBSD: Makefile,v 1.38 2011/06/24 13:04:43 tron Exp $ DISTNAME= xvidcore-1.2.2 CATEGORIES= multimedia @@ -38,14 +38,12 @@ SUBST_SED.ld+= -e "s|-Wl,--version-script=libxvidcore.ld||" PKG_INSTALLATION_TYPES= overwrite pkgviews -WRKSRC= ${WRKDIR}/xvidcore/build/generic +WRKSRC= ${WRKDIR}/xvidcore +CONFIGURE_DIRS= build/generic GNU_CONFIGURE= YES MAKE_ENV+= MKDIR=${MKDIR:Q} -post-extract: - @${LN} -s ../../src ${WRKSRC}/src - .if ${OPSYS} == "Darwin" post-install: ${RM} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so.4 |