Skip to content

Commit

Permalink
wine, wine-devel: help it find libGL and other things that are part o…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Oct 6, 2008
1 parent d04bcc5 commit cd6bcf0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions x11/wine-devel/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PortSystem 1.0
name wine-devel
set my_name wine
version 1.1.5
revision 1

categories x11
maintainers ryandesign jwa openmaintainer
Expand Down Expand Up @@ -69,6 +70,7 @@ post-destroot {
file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine
xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine
reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
reinplace s|@X11PREFIX@|${x11prefix}|g ${destroot}${prefix}/bin/wine
}

livecheck.name ${my_name}
Expand Down
2 changes: 1 addition & 1 deletion x11/wine-devel/files/wine.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib" \
DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib:@X11PREFIX@/lib" \
"@PREFIX@/libexec/wine/wine" "$@"
3 changes: 2 additions & 1 deletion x11/wine/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0

name wine
version 1.0
revision 1
revision 2
categories x11
maintainers ryandesign jwa openmaintainer
homepage http://www.winehq.com/
Expand Down Expand Up @@ -70,6 +70,7 @@ post-destroot {
file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine
xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine
reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine
reinplace s|@X11PREFIX@|${x11prefix}|g ${destroot}${prefix}/bin/wine
}

livecheck.check sourceforge
Expand Down
2 changes: 1 addition & 1 deletion x11/wine/files/wine.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib" \
DYLD_FALLBACK_LIBRARY_PATH="@PREFIX@/lib:@X11PREFIX@/lib" \
"@PREFIX@/libexec/wine/wine" "$@"

0 comments on commit cd6bcf0

Please sign in to comment.