1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Fix installation for slave port of emulators/wine-devel.

Wine switched to using an internal install script and removed logic to create
the underlying directories.  As explained in a comment from Makefile:

"""
Wine expects the install script to make any missing directories, and the default
internal tool (/tools/install-sh) does that however the default install script used
by Ports does not.
"""

Disable the specification of the INSTALL scripts and allow wine to use the
internal one.
This commit is contained in:
David Naylor 2014-01-07 14:35:36 +00:00
parent 5ca1586219
commit a1ad6dcb5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339006

View File

@ -30,7 +30,11 @@ CONFIGURE_ARGS+=--verbose --disable-tests \
--without-mpg123 --without-opencl \
--with-oss --without-sane --without-tiff \
--without-v4l --without-xcomposite --without-xinerama
CONFIGURE_ENV= FLEX="${LOCALBASE}/bin/flex"
CONFIGURE_ENV= FLEX="${LOCALBASE}/bin/flex"
# Wine expects the install script to make any missing directories, and the default
# internal tool (/tools/install-sh) does that however the default install script used
# by Ports does not.
CONFIGURE_ENV+= ${SETENV} -u INSTALL -u INSTALL_PROGRAM -u INSTALL_SCRIPT -u INSTALL_DATA
WINELIBDIR?= ${PREFIX}/lib
.if !defined(USE_LDCONFIG32)
USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine
@ -95,10 +99,6 @@ PORTDATA= l_intl.nls wine.inf
pre-build:
cd ${WRKSRC} && ${GMAKE} depend
pre-install:
${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} | ${GREP} ^@dirrm | \
${CUT} -f 2 -d ' ' | ${SORT} | ${XARGS} -R 1 -I % ${MKDIR} ${STAGEDIR}${PREFIX}/%
post-install:
@${MV} -f ${STAGEDIR}${WINELIBDIR}/libwine.so.1.0 \
${STAGEDIR}${WINELIBDIR}/libwine.so.1