On Thursday 03 September 2015 02:08:53 Alexandre Viau wrote:
> This override is to avoid having a huge quilt patch. quilt generates
> huge patches for file renames.
> 
> The go compiler uses build tags to determine which file to build,
> depending on the file name.
> 
> In our case, we never want to compile against the bundled libsqlite3
> code, so we want a different default. We have no use for the sqlite3.go
> and replacing it with sqlite3_libsqlite3.go.

I see... If I correctly understood what you are trying to do then you
probably want to rename file in build directory before build so you
just need:

~~~~
        dh $@ --buildsystem=golang --with=golang --builddirectory=_build

override_dh_auto_configure:
        dh_auto_configure
        mv -v _build/src/$(DH_GOPKG)/sqlite3.go 
_build/src/$(DH_GOPKG)/sqlite3_libsqlite3.go
~~~~

Although package seems to work even without rename. I'm illiterate in
golang so I trust you to know better whether rename is really necessary...

-- 
All the best,
 Dmitry Smirnov.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to