pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-selenium-webdriver When removing the Linux sh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05fcab3c1565
branches:  trunk
changeset: 356032:05fcab3c1565
user:      gson <gson%pkgsrc.org@localhost>
date:      Sat Dec 17 20:45:42 2016 +0000

description:
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:

 www/ruby-selenium-webdriver/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 102e8465ffc1 -r 05fcab3c1565 www/ruby-selenium-webdriver/Makefile
--- a/www/ruby-selenium-webdriver/Makefile      Sat Dec 17 16:40:31 2016 +0000
+++ b/www/ruby-selenium-webdriver/Makefile      Sat Dec 17 20:45:42 2016 +0000
@@ -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 @@
 #
 # 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"



Home | Main Index | Thread Index | Old Index