View | Details | Raw Unified | Return to bug 257020 | Differences between
and this patch

Collapse All | Expand All

(-)b/emulators/wine-devel/Makefile (-3 / +5 lines)
Lines 149-160 X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ Link Here
149
149
150
# --libdir is required since Wine defaults to "${PREFIX}/lib64" on amd64.
150
# --libdir is required since Wine defaults to "${PREFIX}/lib64" on amd64.
151
CONFIGURE_ARGS+=	--enable-win64 --libdir=${PREFIX}/lib
151
CONFIGURE_ARGS+=	--enable-win64 --libdir=${PREFIX}/lib
152
PLIST_SUB+=		WINE32="@comment " WINE64="" WINEARCH="amd64"
152
PLIST_SUB+=		WINE32="@comment " WINE64="" WINEARCH="x86_64"
153
153
154
# Wine assumes a WoW64 package is available, which is not the case on
155
# FreeBSD yet.
156
post-patch:
154
post-patch:
155
	# Wine assumes a WoW64 package is available, which is not the case on
156
	# FreeBSD yet.
157
	${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop
157
	${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop
158
	# Make sure makedep doesn't accidentally read wrong ARCH from the environment
159
	${REINPLACE_CMD} 's/"MAKEFLAGS"/"MAKEDEP_MAKEFLAGS"/g' ${WRKSRC}/tools/makedep.c
158
160
159
.else
161
.else
160
PLIST_SUB+=		WINE32="" WINE64="@comment " WINEARCH="i386"
162
PLIST_SUB+=		WINE32="" WINE64="@comment " WINEARCH="i386"

Return to bug 257020