Fix building on Darwin; fix PLIST (added common_end)diff -r1.150 -r1.151 pkgsrc/emulators/wine/Makefile
(adam)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.150 2008/12/16 13:27:30 jmcneill Exp $ | 1 | # $NetBSD: Makefile,v 1.151 2009/04/20 18:55:42 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= wine-1.0.1 | 3 | DISTNAME= wine-1.0.1 | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
5 | CATEGORIES= emulators | 5 | CATEGORIES= emulators | |
6 | MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \ | 6 | MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \ | |
7 | ${MASTER_SITE_SOURCEFORGE:=wine/} | 7 | ${MASTER_SITE_SOURCEFORGE:=wine/} | |
8 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
9 | 9 | |||
10 | MAINTAINER= adam@NetBSD.org | 10 | MAINTAINER= adam@NetBSD.org | |
11 | HOMEPAGE= http://www.winehq.com/ | 11 | HOMEPAGE= http://www.winehq.com/ | |
12 | COMMENT= Free implementation of Windows on Unix | 12 | COMMENT= Free implementation of Windows on Unix | |
13 | 13 | |||
14 | BUILD_DEPENDS+= fontforge-[0-9]*:../../fonts/fontforge | 14 | BUILD_DEPENDS+= fontforge-[0-9]*:../../fonts/fontforge | |
15 | 15 | |||
16 | ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386 | 16 | ONLY_FOR_PLATFORM= NetBSD-1.5Z*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386 | |
17 | ONLY_FOR_PLATFORM+= FreeBSD-*-i386 Linux-*-i386 SunOS-*-i386 Darwin-*-i386 | 17 | ONLY_FOR_PLATFORM+= FreeBSD-*-i386 Linux-*-i386 SunOS-*-i386 Darwin-*-i386 | |
@@ -25,41 +25,46 @@ USE_LIBTOOL= yes | @@ -25,41 +25,46 @@ USE_LIBTOOL= yes | |||
25 | USE_NCURSES= yes | 25 | USE_NCURSES= yes | |
26 | USE_TOOLS+= bison flex gmake mktemp | 26 | USE_TOOLS+= bison flex gmake mktemp | |
27 | GNU_CONFIGURE= yes | 27 | GNU_CONFIGURE= yes | |
28 | UNLIMIT_RESOURCES= datasize | 28 | UNLIMIT_RESOURCES= datasize | |
29 | 29 | |||
30 | REPLACE_PERL+= tools/winemaker tools/winedump/function_grep.pl | 30 | REPLACE_PERL+= tools/winemaker tools/winedump/function_grep.pl | |
31 | 31 | |||
32 | # The Wine configure script has problems locating the libraries in the | 32 | # The Wine configure script has problems locating the libraries in the | |
33 | # buildlink directory, so prepend all of the LDFLAGS necessary to link | 33 | # buildlink directory, so prepend all of the LDFLAGS necessary to link | |
34 | # against the libraries. | 34 | # against the libraries. | |
35 | # | 35 | # | |
36 | CONFIGURE_ENV+= X_LIBS=${LDFLAGS:M*:Q} | 36 | CONFIGURE_ENV+= X_LIBS=${LDFLAGS:M*:Q} | |
37 | CONFIGURE_ENV+= CFLAGS=${CFLAGS:M*:Q}\ -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" | 37 | CONFIGURE_ENV+= CFLAGS=${CFLAGS:M*:Q}\ -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" | |
38 | CONFIGURE_ENV+= LDD=${LDD} | 38 | CONFIGURE_ENV+= LDD=${LDD:Q} | |
39 | LIBS+= ${LDFLAGS} | 39 | LIBS+= ${LDFLAGS} | |
40 | 40 | |||
41 | # If we're doing a 32-bit build, make sure that the appropriate | 41 | # If we're doing a 32-bit build, make sure that the appropriate | |
42 | # multilib options are passed through as these values are used | 42 | # multilib options are passed through as these values are used | |
43 | # with winegcc (which wrapper doesn't handle). | 43 | # with winegcc (which wrapper doesn't handle). | |
44 | .include "../../mk/bsd.prefs.mk" | 44 | .include "../../mk/bsd.prefs.mk" | |
45 | .if !empty(MACHINE_ARCH:Mi386) | 45 | .if !empty(MACHINE_ARCH:Mi386) && ${OPSYS} != "Darwin" | |
46 | CONFIGURE_ENV+= ac_cv_prog_CC=${CC}\ -m32 | 46 | CONFIGURE_ENV+= ac_cv_prog_CC=${CC}\ -m32 | |
47 | CONFIGURE_ENV+= ac_cv_prog_CXX=${CXX}\ -m32 | 47 | CONFIGURE_ENV+= ac_cv_prog_CXX=${CXX}\ -m32 | |
48 | CONFIGURE_ENV+= ac_cv_prog_AS=${AS}\ --32 | 48 | CONFIGURE_ENV+= ac_cv_prog_AS=${AS}\ --32 | |
49 | CONFIGURE_ENV+= ac_cv_prog_LD=${LD}\ -m\ elf_i386 | 49 | CONFIGURE_ENV+= ac_cv_prog_LD=${LD}\ -m\ elf_i386 | |
50 | .endif | 50 | .endif | |
51 | 51 | |||
52 | .include "options.mk" | 52 | .include "options.mk" | |
53 | 53 | |||
54 | post-install: | 54 | post-install: | |
55 | .for tool in fnt2bdf | 55 | .for tool in fnt2bdf | |
56 | ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/tools/${tool} \ | 56 | ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/tools/${tool} \ | |
57 | ${DESTDIR}${PREFIX}/bin | 57 | ${DESTDIR}${PREFIX}/bin | |
58 | .endfor | 58 | .endfor | |
59 | 59 | |||
60 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |||
60 | .include "../../devel/ncurses/buildlink3.mk" | 61 | .include "../../devel/ncurses/buildlink3.mk" | |
62 | .include "../../graphics/jpeg/buildlink3.mk" | |||
63 | .include "../../graphics/lcms/buildlink3.mk" | |||
64 | .include "../../graphics/libungif/buildlink3.mk" | |||
65 | .include "../../graphics/png/buildlink3.mk" | |||
61 | .include "../../textproc/libxslt/buildlink3.mk" | 66 | .include "../../textproc/libxslt/buildlink3.mk" | |
62 | .include "../../textproc/libxml2/buildlink3.mk" | 67 | .include "../../textproc/libxml2/buildlink3.mk" | |
63 | .include "../../mk/oss.buildlink3.mk" | 68 | .include "../../mk/oss.buildlink3.mk" | |
64 | .include "../../mk/pthread.buildlink3.mk" | 69 | .include "../../mk/pthread.buildlink3.mk" | |
65 | .include "../../mk/bsd.pkg.mk" | 70 | .include "../../mk/bsd.pkg.mk" |
@comment $NetBSD: PLIST.Darwin,v 1.1 2009/04/20 18:55:42 adam Exp $
lib/wine/winequartz.drv.so
@comment $NetBSD: PLIST.common_end,v 1.1 2009/04/20 18:55:42 adam Exp $
${PLIST.x11}@dirrm share/wine/fonts
@dirrm share/wine
@comment in xdg-dirs: @dirrm share/applications
@dirrm man/fr.UTF-8/man1
@dirrm man/fr.UTF-8
@dirrm man/de.UTF-8/man1
@dirrm man/de.UTF-8
@dirrm lib/wine
@dirrm include/wine/windows/ddk
@dirrm include/wine/windows
@dirrm include/wine/msvcrt/sys
@dirrm include/wine/msvcrt
@dirrm include/wine
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST.common,v 1.2 2008/06/28 12:34:48 sborrill Exp $ | 1 | @comment $NetBSD: PLIST.common,v 1.3 2009/04/20 18:55:42 adam Exp $ | |
2 | bin/fnt2bdf | 2 | bin/fnt2bdf | |
3 | bin/function_grep.pl | 3 | bin/function_grep.pl | |
4 | bin/msiexec | 4 | bin/msiexec | |
5 | bin/notepad | 5 | bin/notepad | |
6 | bin/progman | 6 | bin/progman | |
7 | bin/regedit | 7 | bin/regedit | |
8 | bin/regsvr32 | 8 | bin/regsvr32 | |
9 | bin/uninstaller | 9 | bin/uninstaller | |
10 | bin/widl | 10 | bin/widl | |
11 | bin/wine | 11 | bin/wine | |
12 | bin/wineboot | 12 | bin/wineboot | |
13 | bin/winebrowser | 13 | bin/winebrowser | |
14 | bin/winebuild | 14 | bin/winebuild | |
@@ -1076,26 +1076,13 @@ ${PLIST.x11}share/wine/fonts/svgasys.fon | @@ -1076,26 +1076,13 @@ ${PLIST.x11}share/wine/fonts/svgasys.fon | |||
1076 | ${PLIST.x11}share/wine/fonts/tahoma.ttf | 1076 | ${PLIST.x11}share/wine/fonts/tahoma.ttf | |
1077 | ${PLIST.x11}share/wine/fonts/tahomabd.ttf | 1077 | ${PLIST.x11}share/wine/fonts/tahomabd.ttf | |
1078 | ${PLIST.x11}share/wine/fonts/vgas1255.fon | 1078 | ${PLIST.x11}share/wine/fonts/vgas1255.fon | |
1079 | ${PLIST.x11}share/wine/fonts/vgas1256.fon | 1079 | ${PLIST.x11}share/wine/fonts/vgas1256.fon | |
1080 | ${PLIST.x11}share/wine/fonts/vgas1257.fon | 1080 | ${PLIST.x11}share/wine/fonts/vgas1257.fon | |
1081 | ${PLIST.x11}share/wine/fonts/vgas874.fon | 1081 | ${PLIST.x11}share/wine/fonts/vgas874.fon | |
1082 | ${PLIST.x11}share/wine/fonts/vgasys.fon | 1082 | ${PLIST.x11}share/wine/fonts/vgasys.fon | |
1083 | ${PLIST.x11}share/wine/fonts/vgasyse.fon | 1083 | ${PLIST.x11}share/wine/fonts/vgasyse.fon | |
1084 | ${PLIST.x11}share/wine/fonts/vgasysg.fon | 1084 | ${PLIST.x11}share/wine/fonts/vgasysg.fon | |
1085 | ${PLIST.x11}share/wine/fonts/vgasysr.fon | 1085 | ${PLIST.x11}share/wine/fonts/vgasysr.fon | |
1086 | ${PLIST.x11}share/wine/fonts/vgasyst.fon | 1086 | ${PLIST.x11}share/wine/fonts/vgasyst.fon | |
1087 | share/wine/generic.ppd | 1087 | share/wine/generic.ppd | |
1088 | share/wine/wine.inf | 1088 | share/wine/wine.inf | |
1089 | ${PLIST.x11}@dirrm share/wine/fonts | |||
1090 | @dirrm share/wine | |||
1091 | @comment in xdg-dirs: @dirrm share/applications | |||
1092 | @dirrm man/fr.UTF-8/man1 | |||
1093 | @dirrm man/fr.UTF-8 | |||
1094 | @dirrm man/de.UTF-8/man1 | |||
1095 | @dirrm man/de.UTF-8 | |||
1096 | @dirrm lib/wine | |||
1097 | @dirrm include/wine/windows/ddk | |||
1098 | @dirrm include/wine/windows | |||
1099 | @dirrm include/wine/msvcrt/sys | |||
1100 | @dirrm include/wine/msvcrt | |||
1101 | @dirrm include/wine |
@@ -1,18 +1,21 @@ | @@ -1,18 +1,21 @@ | |||
1 | $NetBSD: distinfo,v 1.84 2008/10/18 11:55:27 adam Exp $ | 1 | $NetBSD: distinfo,v 1.85 2009/04/20 18:55:42 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (wine-1.0.1.tar.bz2) = 0550b03bf7b314514a87b6abb2198da96ef83b22 | 3 | SHA1 (wine-1.0.1.tar.bz2) = 0550b03bf7b314514a87b6abb2198da96ef83b22 | |
4 | RMD160 (wine-1.0.1.tar.bz2) = fecd2bf970c51c80fc02ca39631034f066da145e | 4 | RMD160 (wine-1.0.1.tar.bz2) = fecd2bf970c51c80fc02ca39631034f066da145e | |
5 | Size (wine-1.0.1.tar.bz2) = 13956805 bytes | 5 | Size (wine-1.0.1.tar.bz2) = 13956805 bytes | |
6 | SHA1 (patch-aa) = 906623f16ac87380c63f0c8e80d6490142380566 | 6 | SHA1 (patch-aa) = 906623f16ac87380c63f0c8e80d6490142380566 | |
7 | SHA1 (patch-ab) = 66c1f1ec98674d15c7a72e8ac16105c28aa25e91 | 7 | SHA1 (patch-ab) = 66c1f1ec98674d15c7a72e8ac16105c28aa25e91 | |
8 | SHA1 (patch-ac) = e28e9ea8563546a41672f16c8e111e5d37ffbe92 | 8 | SHA1 (patch-ac) = e28e9ea8563546a41672f16c8e111e5d37ffbe92 | |
9 | SHA1 (patch-ad) = 978bdd94b75a2d671d5ed97d7664ff60488683cd | 9 | SHA1 (patch-ad) = 978bdd94b75a2d671d5ed97d7664ff60488683cd | |
10 | SHA1 (patch-ae) = a4f39995baf5511ddc70b4e1c006a159a86eeb22 | 10 | SHA1 (patch-ae) = a4f39995baf5511ddc70b4e1c006a159a86eeb22 | |
11 | SHA1 (patch-af) = 499aa5a82fce105128caff7ca0006e9c8975e905 | 11 | SHA1 (patch-af) = 499aa5a82fce105128caff7ca0006e9c8975e905 | |
12 | SHA1 (patch-ag) = c4bf5a592ad5cad67ff933c5da418c58d6e1367a | 12 | SHA1 (patch-ag) = c4bf5a592ad5cad67ff933c5da418c58d6e1367a | |
13 | SHA1 (patch-ai) = a334ee48b949f9f5d4356beed3b422ee032619c2 | 13 | SHA1 (patch-ai) = a334ee48b949f9f5d4356beed3b422ee032619c2 | |
14 | SHA1 (patch-aj) = fa9d3baad8d3b895edc6275c2b6da23daa941a09 | 14 | SHA1 (patch-aj) = fa9d3baad8d3b895edc6275c2b6da23daa941a09 | |
15 | SHA1 (patch-ba) = 342564062296d316a20f1c0b3ad7aaa17e7e79be | 15 | SHA1 (patch-ba) = 342564062296d316a20f1c0b3ad7aaa17e7e79be | |
16 | SHA1 (patch-bb) = 77cad41a7e8e34f12243e53f6c1cec998bedefda | 16 | SHA1 (patch-bb) = 77cad41a7e8e34f12243e53f6c1cec998bedefda | |
17 | SHA1 (patch-bc) = 1542a59718229a41e23aff93e4571bf7127a276b | 17 | SHA1 (patch-bc) = 1542a59718229a41e23aff93e4571bf7127a276b | |
18 | SHA1 (patch-bd) = 46a7b8cc8e0793facf78876d26f24cd40ee1d097 | |||
19 | SHA1 (patch-be) = ce9d21a9716c79525239499c89fcf0bb3ef807a3 | |||
20 | SHA1 (patch-bf) = d31bcc193ffe6abc57700bcb43fea6ff5886c038 | |||
18 | SHA1 (patch-ca) = 1383c03cc83cefe6099b58340db2bc468c7524bb | 21 | SHA1 (patch-ca) = 1383c03cc83cefe6099b58340db2bc468c7524bb |
@@ -1,77 +1,70 @@ | @@ -1,77 +1,70 @@ | |||
1 | # $NetBSD: options.mk,v 1.11 2008/12/07 15:31:57 jmcneill Exp $ | 1 | # $NetBSD: options.mk,v 1.12 2009/04/20 18:55:42 adam Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.wine | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.wine | |
4 | PKG_SUPPORTED_OPTIONS= cups opengl sane esound ldap dbus hal ssl x11 | 4 | PKG_SUPPORTED_OPTIONS= cups opengl sane esound ldap hal ssl x11 | |
5 | PKG_SUGGESTED_OPTIONS= opengl esound ldap dbus hal ssl x11 | 5 | PKG_SUGGESTED_OPTIONS= opengl esound ldap hal ssl x11 | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | PLIST_VARS+= opengl x11 | 9 | PLIST_VARS+= opengl x11 | |
10 | 10 | |||
11 | .if !empty(PKG_OPTIONS:Mesound) | 11 | .if !empty(PKG_OPTIONS:Mesound) | |
12 | .include "../../audio/esound/buildlink3.mk" | 12 | .include "../../audio/esound/buildlink3.mk" | |
13 | .endif | 13 | .endif | |
14 | 14 | |||
15 | .if !empty(PKG_OPTIONS:Mldap) | 15 | .if !empty(PKG_OPTIONS:Mldap) | |
16 | .include "../../databases/openldap-client/buildlink3.mk" | 16 | .include "../../databases/openldap-client/buildlink3.mk" | |
17 | .else | 17 | .else | |
18 | CONFIGURE_ARGS+= --without-ldap | 18 | CONFIGURE_ARGS+= --without-ldap | |
19 | .endif | |||
20 | ||||
21 | .if !empty(PKG_OPTIONS:Mdbus) | |||
22 | .include "../../sysutils/dbus/buildlink3.mk" | |||
23 | .else | |||
24 | CONFIGURE_ARGS+= --without-dbus | |||
25 | .endif | 19 | .endif | |
26 | 20 | |||
27 | .if !empty(PKG_OPTIONS:Mhal) | 21 | .if !empty(PKG_OPTIONS:Mhal) | |
28 | .include "../../sysutils/hal/buildlink3.mk" | 22 | .include "../../sysutils/hal/buildlink3.mk" | |
29 | .else | 23 | .else | |
30 | CONFIGURE_ARGS+= --without-hal | 24 | CONFIGURE_ARGS+= --without-hal | |
31 | .endif | 25 | .endif | |
32 | 26 | |||
33 | .if !empty(PKG_OPTIONS:Mssl) | 27 | .if !empty(PKG_OPTIONS:Mssl) | |
34 | .include "../../security/openssl/buildlink3.mk" | 28 | .include "../../security/openssl/buildlink3.mk" | |
35 | .else | 29 | .else | |
36 | CONFIGURE_ARGS+= --without-openssl | 30 | CONFIGURE_ARGS+= --without-openssl | |
37 | .endif | 31 | .endif | |
38 | 32 | |||
39 | .if !empty(PKG_OPTIONS:Mcups) | 33 | .if !empty(PKG_OPTIONS:Mcups) | |
40 | .include "../../print/cups/buildlink3.mk" | 34 | .include "../../print/cups/buildlink3.mk" | |
41 | .else | 35 | .else | |
42 | CONFIGURE_ARGS+= --without-cups | 36 | CONFIGURE_ARGS+= --without-cups | |
43 | .endif | 37 | .endif | |
44 | 38 | |||
45 | .if !empty(PKG_OPTIONS:Mx11) | 39 | .if !empty(PKG_OPTIONS:Mx11) | |
46 | PLIST.x11= yes | 40 | PLIST.x11= yes | |
47 | .include "../../fonts/fontconfig/buildlink3.mk" | 41 | .include "../../fonts/fontconfig/buildlink3.mk" | |
48 | .include "../../graphics/freetype2/buildlink3.mk" | 42 | .include "../../graphics/freetype2/buildlink3.mk" | |
49 | .include "../../graphics/jpeg/buildlink3.mk" | |||
50 | .include "../../graphics/lcms/buildlink3.mk" | |||
51 | .include "../../graphics/libungif/buildlink3.mk" | |||
52 | .include "../../graphics/png/buildlink3.mk" | |||
53 | .include "../../x11/libICE/buildlink3.mk" | 43 | .include "../../x11/libICE/buildlink3.mk" | |
54 | .include "../../x11/libSM/buildlink3.mk" | 44 | .include "../../x11/libSM/buildlink3.mk" | |
55 | .include "../../x11/libX11/buildlink3.mk" | 45 | .include "../../x11/libX11/buildlink3.mk" | |
56 | .include "../../x11/libXcursor/buildlink3.mk" | 46 | .include "../../x11/libXcursor/buildlink3.mk" | |
57 | .include "../../x11/libXext/buildlink3.mk" | 47 | .include "../../x11/libXext/buildlink3.mk" | |
58 | .include "../../x11/libXi/buildlink3.mk" | 48 | .include "../../x11/libXi/buildlink3.mk" | |
59 | .include "../../x11/libXinerama/buildlink3.mk" | 49 | .include "../../x11/libXinerama/buildlink3.mk" | |
60 | .include "../../x11/libXrandr/buildlink3.mk" | 50 | .include "../../x11/libXrandr/buildlink3.mk" | |
61 | .include "../../x11/libXrender/buildlink3.mk" | 51 | .include "../../x11/libXrender/buildlink3.mk" | |
62 | .include "../../x11/libXxf86vm/buildlink3.mk" | 52 | .include "../../x11/libXxf86vm/buildlink3.mk" | |
63 | .else | 53 | .else | |
64 | CONFIGURE_ARGS+= --without-x --without-freetype | 54 | CONFIGURE_ARGS+= --without-freetype | |
55 | CONFIGURE_ARGS+= --without-x | |||
65 | .endif | 56 | .endif | |
66 | 57 | |||
67 | .if !empty(PKG_OPTIONS:Mopengl) && !empty(PKG_OPTIONS:Mx11) | 58 | .if !empty(PKG_OPTIONS:Mopengl) && !empty(PKG_OPTIONS:Mx11) | |
68 | PLIST.opengl= yes | 59 | PLIST.opengl= yes | |
60 | . if ${OPSYS} != "Darwin" | |||
69 | .include "../../graphics/glu/buildlink3.mk" | 61 | .include "../../graphics/glu/buildlink3.mk" | |
70 | .include "../../graphics/glut/buildlink3.mk" | 62 | .include "../../graphics/glut/buildlink3.mk" | |
63 | . endif | |||
71 | .else | 64 | .else | |
72 | CONFIGURE_ARGS+= --without-opengl | 65 | CONFIGURE_ARGS+= --without-opengl | |
73 | .endif | 66 | .endif | |
74 | 67 | |||
75 | .if !empty(PKG_OPTIONS:Msane) | 68 | .if !empty(PKG_OPTIONS:Msane) | |
76 | .include "../../graphics/sane-backends/buildlink3.mk" | 69 | .include "../../graphics/sane-backends/buildlink3.mk" | |
77 | .endif | 70 | .endif |
$NetBSD: patch-bd,v 1.1 2009/04/20 18:55:42 adam Exp $
--- dlls/Makedll.rules.in.orig 2008-10-17 17:45:25.000000000 +0200
+++ dlls/Makedll.rules.in
@@ -96,7 +96,7 @@ install_static_implib_a:
$(IMPLIB_SRCS:%=_install_static_implib_/%): install_static_implib_$(IMPLIBEXT)
install install-lib:: $(MODULE)$(DLLEXT) $(DESTDIR)$(dlldir) dummy
- $(INSTALL_PROGRAM) $(MODULE)$(DLLEXT) $(DESTDIR)$(dlldir)/$(MODULE)$(DLLEXT)
+ ${BSD_INSTALL_LIB} $(MODULE)$(DLLEXT) $(DESTDIR)$(dlldir)/$(MODULE)$(DLLEXT)
install install-dev:: $(IMPORTLIB:%=_install_/%) $(IMPLIB_SRCS:%=_install_static_implib_/%)
$NetBSD: patch-be,v 1.1 2009/04/20 18:55:42 adam Exp $
--- programs/Makeprog.rules.in.orig 2008-10-17 17:45:25.000000000 +0200
+++ programs/Makeprog.rules.in
@@ -44,7 +44,7 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT)
.PHONY: install_prog install_prog.so uninstall_prog uninstall_prog.so
install_prog.so: $(MODULE).so $(DESTDIR)$(dlldir) dummy
- $(INSTALL_PROGRAM) $(MODULE).so $(DESTDIR)$(dlldir)/$(MODULE).so
+ ${BSD_INSTALL_LIB} $(MODULE).so $(DESTDIR)$(dlldir)/$(MODULE).so
install_prog: $(MODULE) $(DESTDIR)$(bindir) dummy
$(INSTALL_PROGRAM) $(MODULE) $(DESTDIR)$(bindir)/$(MODULE)
$NetBSD: patch-bf,v 1.1 2009/04/20 18:55:42 adam Exp $
--- libs/wine/Makefile.in.orig 2008-10-17 17:45:25.000000000 +0200
+++ libs/wine/Makefile.in
@@ -150,14 +150,14 @@ libwine.dylib: libwine.$(SOVERSION).dyli
.PHONY: install-lib-so install-lib-dll install-lib-dylib install-dev-so install-dev-dll install-dev-dylib
install-lib-so: libwine.so.$(VERSION) $(DESTDIR)$(libdir) dummy
- $(INSTALL_PROGRAM) libwine.so.$(VERSION) $(DESTDIR)$(libdir)/libwine.so.$(VERSION)
+ ${BSD_INSTALL_LIB} libwine.so.$(VERSION) $(DESTDIR)$(libdir)/libwine.so.$(VERSION)
cd $(DESTDIR)$(libdir) && $(RM) libwine.so.$(SOVERSION) && $(LN_S) libwine.so.$(VERSION) libwine.so.$(SOVERSION)
install-lib-dll: libwine.dll $(DESTDIR)$(libdir) dummy
$(INSTALL_DATA) libwine.dll $(DESTDIR)$(libdir)/libwine.dll
install-lib-dylib: libwine.$(VERSION).dylib $(DESTDIR)$(libdir) dummy
- $(INSTALL_PROGRAM) libwine.$(VERSION).dylib $(DESTDIR)$(libdir)/libwine.$(VERSION).dylib
+ ${BSD_INSTALL_LIB} libwine.$(VERSION).dylib $(DESTDIR)$(libdir)/libwine.$(VERSION).dylib
cd $(DESTDIR)$(libdir) && $(RM) libwine.$(SOVERSION).dylib && $(LN_S) libwine.$(VERSION).dylib libwine.$(SOVERSION).dylib
install-dev-so: $(DESTDIR)$(libdir) dummy