Annotation of pkgsrc/shells/execshell/patches/patch-Makefile, revision 1.1

1.1     ! schmonz     1: $NetBSD$
        !             2: 
        !             3: Use pkgsrc-provided libs.
        !             4: 
        !             5: --- Makefile.orig      2020-11-01 11:13:37.000000000 +0000
        !             6: +++ Makefile
        !             7: @@ -1,14 +1,14 @@
        !             8:  
        !             9:  CC ?= gcc
        !            10:  CFLAGS ?= -Wall -Wextra -O2
        !            11: -LIBS ?= -lexecline -lskarnet
        !            12: +LIBS ?= -lexecline -lskarnet -llinenoise
        !            13:  
        !            14: -SOURCES := execshell.c linenoise/linenoise.c linenoise/encodings/utf8.c
        !            15: +SOURCES := execshell.c # linenoise/linenoise.c linenoise/encodings/utf8.c
        !            16:  
        !            17:  .PHONY: all clean
        !            18:  
        !            19:  all:
        !            20: -      $(CC) $(CFLAGS) -o execshell $(SOURCES) $(LIBS)
        !            21: +      $(CC) $(CFLAGS) -o execshell $(SOURCES) $(LDFLAGS) $(LIBS)
        !            22:  
        !            23:  clean:
        !            24:        rm -f execshell

CVSweb <webmaster@jp.NetBSD.org>