# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/nvi/nvi.conf # Copyright (C) 2004 - 2021 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- hook_add preconf 3 "cd build.unix" configscript="../dist/configure" # use the system one var_append confopt ' ' '--disable-curses --program-transform-name=s,^,n,' var_append makeinstopt ' ' '-j1' if [ "$SDECFG_PKG_VIM_IS_VI_REPLACEMENT" != 1 ]; then hook_add postmake 5 "ln -sf nvi $root$bindir/vi" fi if ! atstage native; then var_append makeinstopt ' ' "prefix=$root/$prefix" var_append makeinstopt ' ' "bindir=$root$bindir" var_append makeinstopt ' ' "datadir=$root$datadir" var_append makeinstopt ' ' "mandir=$root$mandir" fi