diff options
author | gson <gson@pkgsrc.org> | 2016-12-17 20:45:42 +0000 |
---|---|---|
committer | gson <gson@pkgsrc.org> | 2016-12-17 20:45:42 +0000 |
commit | 1a505036bdf598e02894dc398679f48246a3c50a (patch) | |
tree | d7f4337fa9d0c01b7fbaf67ff4f8d32319d05cb4 /www/ruby-selenium-webdriver | |
parent | d1b004d8c5d3d11b05e0149b9bd41eadae6a2da4 (diff) | |
download | pkgsrc-1a505036bdf598e02894dc398679f48246a3c50a.tar.gz |
When removing the Linux shared objects in the pre-configure target,
use the extension .so, not ${RUBY_DLEXT}, because the files in case
are from the distribution package and therefore have a fixed extension
unrelated to the extension used on the local system. Fixes the
package build on Mac OS X.
Diffstat (limited to 'www/ruby-selenium-webdriver')
-rw-r--r-- | www/ruby-selenium-webdriver/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/ruby-selenium-webdriver/Makefile b/www/ruby-selenium-webdriver/Makefile index ec8dcf445e6..bb6e5681742 100644 --- a/www/ruby-selenium-webdriver/Makefile +++ b/www/ruby-selenium-webdriver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2015/03/13 17:59:44 taca Exp $ +# $NetBSD: Makefile,v 1.4 2016/12/17 20:45:42 gson Exp $ DISTNAME= selenium-webdriver-2.45.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} @@ -23,8 +23,8 @@ OVERRIDE_GEMSPEC+= \ # # XXX: Remove this unportable garbage. Breaks on non-Linux targets. pre-configure: - ${RM} ${WRKSRC}/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.${RUBY_DLEXT} - ${RM} ${WRKSRC}/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.${RUBY_DLEXT} + ${RM} ${WRKSRC}/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so + ${RM} ${WRKSRC}/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" |