The patch works (thanks, it was an easy fix in the end it seems), but it has the wrong path to the source: Index: distinfo =================================================================== RCS file: /Users/kk/NetBSD-CVS/pkgsrc/editors/vim-share/distinfo,v retrieving revision 1.154 diff -u -r1.154 distinfo --- distinfo 5 Jul 2016 05:48:02 -0000 1.154 +++ distinfo 5 Jul 2016 06:28:43 -0000 @@ -5,7 +5,7 @@ SHA512 (vim-7.4.1987.tar.bz2) = 66cbf234741e980097da3f4d6754639042af1020bcca4dd8edfb91ab427498d18ef2de15a850d0c62be1d79e838e48e9822cceeb2224bd9cf4c93efac82e4cae Size (vim-7.4.1987.tar.bz2) = 10140434 bytes SHA1 (patch-Makefile) = 6373437f649d627b2bc1595bf67e821412500fb5 -SHA1 (patch-auto_configure) = a60cd7851acd0d821d202924fe0dfe33b52f677a +SHA1 (patch-auto_configure) = 58a0d41f257d39f61d7705c65737bd9bcb3bf719 SHA1 (patch-configure) = ae5970dec6d557d81da8a8f1da36d05ddc59ca56 SHA1 (patch-feature.h) = 6fc4b6c07d33af4df44e12af8d1148931a848ef4 SHA1 (patch-link.sh) = 24db881cea873330a8a3bf672f6135d0835651fd Index: patches/patch-auto_configure =================================================================== RCS file: /Users/kk/NetBSD-CVS/pkgsrc/editors/vim-share/patches/patch-auto_configure,v retrieving revision 1.2 diff -u -r1.2 patch-auto_configure --- patches/patch-auto_configure 4 Jul 2016 21:07:02 -0000 1.2 +++ patches/patch-auto_configure 5 Jul 2016 06:28:21 -0000 @@ -3,8 +3,8 @@ Buildlink takes care of include files. Also, remove stray dollar. ---- auto/configure.orig 2016-07-02 20:33:46.000000000 +0000 -+++ auto/configure +--- src/auto/configure.orig 2016-07-02 20:33:46.000000000 +0000 ++++ src/auto/configure @@ -9490,7 +9490,7 @@ fi On Mon, Jul 04, 2016 at 11:11:29PM +0200, Daniel Horecki wrote: > Hi, > > I think I found issue and fixed it. Can you do cvs up and check it? > > Regards, > > On Mon, Jul 04, 2016 at 12:30:47PM +0200, Andreas Kusalananda Kähäri wrote: > > The vim-share port was updated to 7.4.1987 on Sunday, but this issue > > remains. > > > > On Mon, Jun 27, 2016 at 01:37:20PM +0200, Andreas Kusalananda Kähäri wrote: > > > Additional info: Does not fail on Linux with almost identical mk.conf > > > (only difference is Darwin uses system clang, while Linux uses system > > > gcc). > > > > > > No modifications were made to mk.conf after bootstrapping, and the only > > > line in pkg_install.conf is "ACCEPTABLE_LICENSES= vim-license". > > > > > > I'm running pkgsrc as unprivilegied user with pkgsrc prefix "$HOME/sw". > > > > > > Bootstrapped with: > > > > > > ./bootstrap --abi=64 --cwrappers --full \ > > > --compiler="$COMPILER" \ > > > --unprivileged \ > > > --prefer-pkgsrc=yes \ > > > --prefix="$HOME/sw" \ > > > --make-jobs=2 > > > > > > $COMPILER is 'gcc' on Linux, 'clang' on Darwin. > > > > > > Regards, > > > > > > On Sun, Jun 26, 2016 at 10:54:13PM +0200, Andreas Kusalananda Kähäri wrote: > > > > Hi, > > > > > > > > I'm using pkgsrc on Darwin, and on a freshly bootstrapped machine I > > > > fail to compile the editors/vim-share package as part of installing > > > > editors/vim. > > > > > > > > The build fails because a dash is missing in front of 'lm' when linking > > > > at the end. > > > > > > > > > > > > This is what happens: > > > > > > > > > > > > => Bootstrap dependency digest>=20010302: found digest-20160304 > > > > ===> Skipping vulnerability checks. > > > > WARNING: No /Users/kk/sw/var/db/pkg/pkg-vulnerabilities file found. > > > > WARNING: To fix run: `/Users/kk/sw/sbin/pkg_admin -K /Users/kk/sw/var/db/pkg fetch-pkg-vulnerabilities'. > > > > => Checksum SHA1 OK for vim-7.4.1040.tar.bz2 > > > > => Checksum RMD160 OK for vim-7.4.1040.tar.bz2 > > > > => Checksum SHA512 OK for vim-7.4.1040.tar.bz2 > > > > ===> Installing dependencies for vim-7.4.1040 > > > > ========================================================================== > > > > The supported build options for vim are: > > > > > > > > lua luajit perl python ruby > > > > > > > > You can select which build options to use by setting PKG_DEFAULT_OPTIONS > > > > or the following variable. Its current value is shown: > > > > > > > > PKG_OPTIONS.vim (not defined) > > > > > > > > ========================================================================== > > > > ========================================================================== > > > > The following variables will affect the build process of this package, > > > > vim-7.4.1040. Their current value is shown below: > > > > > > > > * CURSES_DEFAULT = ncurses > > > > > > > > Based on these variables, the following variables have been set: > > > > > > > > * CURSES_TYPE = ncurses > > > > * TERMCAP_TYPE = curses > > > > > > > > You may want to abort the process now with CTRL-C and change their value > > > > before continuing. Be sure to run `/Users/kk/sw/bin/bmake clean' after > > > > the changes. > > > > ========================================================================== > > > > => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 > > > > => Build dependency cwrappers>=20150314: found cwrappers-20160110nb1 > > > > => Full dependency vim-share-7.4.1040{,nb*}: NOT found > > > > => Verifying reinstall for ../../editors/vim-share > > > > => Bootstrap dependency digest>=20010302: found digest-20160304 > > > > ===> Skipping vulnerability checks. > > > > WARNING: No /Users/kk/sw/var/db/pkg/pkg-vulnerabilities file found. > > > > WARNING: To fix run: `/Users/kk/sw/sbin/pkg_admin -K /Users/kk/sw/var/db/pkg fetch-pkg-vulnerabilities'. > > > > ===> Building for vim-share-7.4.1040nb1 > > > > clang -c -I. -Iproto -DHAVE_CONFIG_H -I/Users/kk/sw/include/ncurses -DMACOS_X_UNIX -I/Users/kk/sw/include/ncurses -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o > > > > clang -L/Users/kk/sw/lib -o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/crypt.o objects/crypt_zip.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/os_macosx.o objects/os_mac_conv.o objects/netbeans.o objects/main.o objects/memfile.o lm -lncurses -liconv -framework Cocoa > > > > clang: error: no such file or directory: 'lm' > > > > *** Error code 1 > > > > > > > > Stop. > > > > bmake: stopped in /Users/kk/pkgsrc/editors/vim-share/work/vim74/src > > > > *** Error code 1 > > > > > > > > Stop. > > > > bmake[2]: stopped in /Users/kk/pkgsrc/editors/vim-share > > > > *** Error code 1 > > > > > > > > Stop. > > > > bmake[1]: stopped in /Users/kk/pkgsrc/editors/vim-share > > > > *** Error code 1 > > > > > > > > Stop. > > > > bmake: stopped in /Users/kk/pkgsrc/editors/vim > > > > > > > > > > > > > > -- > Daniel Horecki > http://morr.pl http://linux.pl http://netbsd.pl http://netbsd.org > HAIL ERIS! > BOFH since 1999. >
Attachment:
signature.asc
Description: PGP signature