summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-12-26 20:10:31 +0000
committerwiz <wiz@pkgsrc.org>2001-12-26 20:10:31 +0000
commit0b296e79405daa650de451da1448b3e657b243fa (patch)
treeb03056048a53266ddc52074b1158fd9bc5dc6588 /emulators
parentd3009b7413cce20a91e41095c08ddcdf8d4c59d7 (diff)
downloadpkgsrc-0b296e79405daa650de451da1448b3e657b243fa.tar.gz
Buildlinkify.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-current/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/emulators/wine-current/Makefile b/emulators/wine-current/Makefile
index 109a1be3d04..497c2c386d5 100644
--- a/emulators/wine-current/Makefile
+++ b/emulators/wine-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/02/17 18:38:34 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2001/12/26 20:10:31 wiz Exp $
DISTNAME= Wine-990328
PKGNAME= wine-990328
@@ -10,17 +10,17 @@ MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.winehq.com/
COMMENT= Beta Windows (3.1x, 95, NT) emulator
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
-
ONLY_FOR_PLATFORM= NetBSD-*-i386
-USE_X11= YES
-USE_XPM= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --enable-dll
-CONFIGURE_ENV= CC="${CC} -idirafter ${LOCALBASE}/include"
+CONFIGURE_ENV= CC="${CC} -idirafter ${BUILDLINK_DIR}/include"
MAKE_ENV= LDOPTIONS="${LDFLAGS}"
-LDFLAGS= -L${LOCALBASE}/lib
+USE_BUILDLINK_ONLY= YES
+
+# [n]curses' menu.h is found before wine's menu.h, but isn't needed anyway
+post-configure:
+ ${RM} ${BUILDLINK_DIR}/include/menu.h
post-install:
${INSTALL_DATA} ${WRKSRC}/wine.ini ${PREFIX}/etc/wine.conf.example
@@ -31,4 +31,7 @@ post-install:
BROKEN= Does not work on ELF systems.
.endif
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"