Annotation of pkgsrc/textproc/lua-stringy/patches/patch-stringy_Makefile, revision 1.1

1.1     ! nia         1: $NetBSD$
        !             2: 
        !             3: - Append CFLAGS.
        !             4: - Use LDFLAGS when linking.
        !             5: - Don't try to run tests.
        !             6: 
        !             7: --- stringy/Makefile.orig      2019-03-22 19:12:17.000000000 +0000
        !             8: +++ stringy/Makefile
        !             9: @@ -2,7 +2,7 @@ LUA ?= lua5.1
        !            10:  LUA_PC ?= lua5.1
        !            11:  LUA_CFLAGS = $(shell pkg-config $(LUA_PC) --cflags)
        !            12:  
        !            13: -CFLAGS ?= -O3 -Wall -Werror
        !            14: +CFLAGS += -Wall
        !            15:  
        !            16:  all: stringy.so
        !            17:  
        !            18: @@ -12,8 +12,7 @@ all: stringy.so
        !            19:  stringy.o: fastsearch.h
        !            20:  
        !            21:  stringy.so: stringy.o stringy_test.lua
        !            22: -      $(CC) -shared stringy.o -o $@
        !            23: -      $(LUA) stringy_test.lua
        !            24: +      $(CC) $(LDFLAGS) -shared stringy.o -o $@
        !            25:  
        !            26:  clean:
        !            27:        rm -f stringy.so stringy.o *.rock

CVSweb <webmaster@jp.NetBSD.org>