summaryrefslogtreecommitdiff
path: root/emulators/wine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine/Makefile')
-rw-r--r--emulators/wine/Makefile33
1 files changed, 16 insertions, 17 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index b73f5dfdbb8..455fa582976 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2002/09/06 09:18:41 zuntum Exp $
+# $NetBSD: Makefile,v 1.33 2002/09/21 00:28:09 jlam Exp $
DISTNAME= Wine-20020804
PKGNAME= ${DISTNAME:S/W/w/}
@@ -14,30 +14,29 @@ CONFLICTS= rewind-[0-9]*
ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.[6-9]*-i386
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
+USE_X11= YES
USE_GMAKE= YES
+
USE_PERL5= run
+REPLACE_PERL= tools/winedump/function_grep.pl tools/winemaker
+
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-curses
+CONFIGURE_ENV+= ac_cv_path_ARTSCCONFIG=no
+CONFIGURE_ENV+= ac_cv_prog_sane_devel=no
-REPLACE_PERL= tools/winedump/function_grep.pl tools/winemaker
-
-# The Wine configure script has problems locating the freetype-config
-# script and the libraries in the buildlink directory, so explicitly
-# set the location of freetype-config and prepend all of the LDFLAGS
-# necessary to link against the libraries.
+# The Wine configure script has problems locating the libraries in the
+# buildlink directory, so prepend all of the LDFLAGS necessary to link
+# against the libraries.
#
-CONFIGURE_ENV+= ft_devel=${FREETYPE_CONFIG}
CONFIGURE_ENV+= X_LIBS="${LDFLAGS}"
LIBS+= ${LDFLAGS}
-CONFIGURE_ENV+= ac_cv_path_ARTSCCONFIG=no
-CONFIGURE_ENV+= ac_cv_prog_sane_devel=no
-
.include "../../mk/bsd.prefs.mk"
.if defined(USE_CUPS) && (${USE_CUPS} == YES)
-.include "../../print/cups/buildlink.mk"
+. include "../../print/cups/buildlink2.mk"
BUILD_DEFS+= USE_CUPS
.endif
@@ -50,8 +49,8 @@ post-install:
${INSTALL_DATA} generic.ppd ${EGDIR}/generic.ppd; \
${INSTALL_DATA} system.ini ${EGDIR}/system.ini
-.include "../../graphics/Mesa/buildlink.mk"
-.include "../../graphics/freetype2/buildlink.mk"
-.include "../../graphics/jpeg/buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"