aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine-devel
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2014-01-07 14:35:36 +0000
committerDavid Naylor <dbn@FreeBSD.org>2014-01-07 14:35:36 +0000
commita1ad6dcb5bc6e246c6cd2e3eacfc6c6f63f54843 (patch)
tree79e6f5f715e690ad6d93241320a2664f6cd8f74c /emulators/wine-devel
parent5ca15862192ed7b47e0e078f1be8c5e8dce26829 (diff)
downloadports-a1ad6dcb5bc6e246c6cd2e3eacfc6c6f63f54843.tar.gz
ports-a1ad6dcb5bc6e246c6cd2e3eacfc6c6f63f54843.zip
Notes
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r--emulators/wine-devel/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 70de3f3f7e4c..de360f8f5e94 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -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