diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2011-02-06 14:58:27 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2011-02-06 14:58:27 +0000 |
commit | a065ee434169830100bacdd5eff155cc9efac7ca (patch) | |
tree | 4deef43b37944fe2bbdedafed7059692cde04732 /emulators/wine-devel | |
parent | 61cc487b4e61d3d665064c9f7d945469e63d6a8d (diff) |
Make CONFIGURE_ARGS overridable for slave ports. Introduce and use
WINELIBDIR. [1]
Set USE_LDCONFIG only if USE_LDCONFIG32 has not been set (which would
indicate this being used by the amd64 child port).
All of this is in support of the amd64 child port.
Submitted by: David Naylor <naylor.b.david@gmail.com> [1]
PR: 151747
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=268724
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r-- | emulators/wine-devel/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index d0c92d75ea54..9fa9f0390e0b 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -29,7 +29,7 @@ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE GNU_CONFIGURE= yes -CONFIGURE_ARGS= --datadir=${DATADIR} --verbose --disable-tests \ +CONFIGURE_ARGS+=--datadir=${DATADIR} --verbose --disable-tests \ --with-glu --with-opengl --with-xrandr \ --without-capi --without-gphoto --without-gsm \ --without-v4l --without-mpg123 --without-sane \ @@ -37,7 +37,10 @@ CONFIGURE_ARGS= --datadir=${DATADIR} --verbose --disable-tests \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ FLEX="${LOCALBASE}/bin/flex" -USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/wine +WINELIBDIR?= ${PREFIX}/lib +.if !defined(USE_LDCONFIG32) +USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine +.endif MAKE_JOBS_SAFE= yes MAN1= msiexec.1 notepad.1 regedit.1 regsvr32.1 widl.1 wine.1 \ wineboot.1 winebuild.1 winecfg.1 wineconsole.1 winedbg.1 \ @@ -133,8 +136,8 @@ post-install: ${MAN1PREFIX}/man/fr.UTF-8/man1/wineserver.1 @-${RMDIR} -p ${MAN1PREFIX}/man/de.UTF-8/man1 \ ${MAN1PREFIX}/man/fr.UTF-8/man1 - ${MV} -f ${PREFIX}/lib/libwine.so.1.0 ${PREFIX}/lib/libwine.so.1 - ${LN} -sf libwine.so.1 ${PREFIX}/lib/libwine.so + ${MV} -f ${WINELIBDIR}/libwine.so.1.0 ${WINELIBDIR}/libwine.so.1 + ${LN} -sf libwine.so.1 ${WINELIBDIR}/libwine.so .if !defined(NOPORTDOCS) -@${MKDIR} ${DOCSDIR} .for i in README ANNOUNCE AUTHORS |