X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/d26f08f1adf0fd58c64bc4ae96b587bf25333f00..dca9634202d9ab28c524068e17928f403ec03a2c:/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn diff --git a/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn b/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn index 25d0ef3c1..12c0ad07f 100644 --- a/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn +++ b/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn @@ -1,6 +1,6 @@ -Currently ikiwiki uses cp(1) with GNU extensions in Makefile.PL for installing files, thus causing problems on FreeBSD which doesn't have a cp(1) with GNU extentions in the base system. +Currently ikiwiki uses cp(1) with GNU extensions in Makefile.PL for installing files, thus causing problems on FreeBSD which doesn't have a cp(1) with GNU extensions in the base system. -Here is a patch againt ikiwiki-1.51 for using find(1) and install(1) instead of cp(1). +Here is a patch against ikiwiki-1.51 for using find(1) and install(1) instead of cp(1). --- Makefile.PL.orig Sun Apr 29 12:57:51 2007 +++ Makefile.PL Sun Apr 29 13:08:38 2007 @@ -19,3 +19,14 @@ Here is a patch againt ikiwiki-1.51 for using find(1) and install(1) instead of install -d $(DESTDIR)$(PREFIX)/share/man/man1 install -m 644 ikiwiki.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki.1 + +> Couldn't it just use install -D ? --[[Joey]] + +>> No, apparently FreeBSD `install` does not support `-D`. See [the FreeBSD install manpage](http://www.freebsd.org/cgi/man.cgi?query=install&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html). --[[JoshTriplett]] + +>> Patch applied; [[done]]. --[[JoshTriplett]] + +There are still/again "cp -a"s in the Makefile as of 3.00 + +> It's a cp -a || install. Is that causing you a problem somehow? +> --[[Joey]]