OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 18-Sep-2009 15:55:29 Branch: HEAD Handle: 2009091814552900 Modified files: openpkg-src/mysql mysql.spec Log: fix shebang on supplemental Perl scripts (submitted by Christoph Schug) Summary: Revision Changes Path 1.193 +7 -1 openpkg-src/mysql/mysql.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/mysql/mysql.spec ============================================================================ $ cvs diff -u -r1.192 -r1.193 mysql.spec --- openpkg-src/mysql/mysql.spec 3 Sep 2009 18:56:24 -0000 1.192 +++ openpkg-src/mysql/mysql.spec 18 Sep 2009 13:55:29 -0000 1.193 @@ -39,7 +39,7 @@ Group: Database License: GPL Version: %{V_opkg} -Release: 20090903 +Release: 20090918 # package options %option with_server yes @@ -120,6 +120,12 @@ %{l_shtool} subst %{l_value -s -a} \ mysys/default.c + # fix shebang on supplemental Perl scripts + rm -f scripts/*.orig + %{l_shtool} subst \ + -e 's;^#!/usr/bin/perl;#!%{l_prefix}/bin/perl;' \ + scripts/* + # determine additional configure options case "%{l_platform -t}" in *-freebsd* ) opt="--with-client-ldflags=-static --with-mysqld-ldflags=-static" ;; @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org