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 | cf15bf8c1c42a5a1ef352513cad4e09c67fc742d (patch) | |
tree | a17ffbbbcc07c65b51ae8fecfb53d1c75b6212e7 | |
parent | 090d5969f6a13a0d4d274a66ca23ac48d3b27844 (diff) | |
download | pkgsrc-cf15bf8c1c42a5a1ef352513cad4e09c67fc742d.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.
-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" |