[BACK]Return to patch-pyvex__c_Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pyvex / patches

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/devel/py-pyvex/patches/Attic/patch-pyvex__c_Makefile between version 1.1 and 1.2

version 1.1, 2018/03/15 02:49:25 version 1.2, 2020/01/09 14:02:32
Line 3  $NetBSD$
Line 3  $NetBSD$
 Add support for NetBSD.  Add support for NetBSD.
 Correct the syntax for GCC in C99 mode.  Correct the syntax for GCC in C99 mode.
   
 --- pyvex_c/Makefile.orig       2018-02-21 22:03:16.000000000 +0000  --- pyvex_c/Makefile.orig       2019-12-17 03:13:10.000000000 +0000
 +++ pyvex_c/Makefile  +++ pyvex_c/Makefile
 @@ -9,6 +9,11 @@ ifeq ($(UNAME), Linux)  @@ -2,22 +2,27 @@ UNAME := $(shell uname)
    ifeq ($(UNAME), Darwin)
           LIBRARY_FILE=libpyvex.dylib
         STATIC_LIBRARY_FILE=libpyvex.a          STATIC_LIBRARY_FILE=libpyvex.a
         LDFLAGS=-Wl,-soname,$(LIBRARY_FILE)  -       LDFLAGS=-Wl,-install_name,$(LIBRARY_FILE)
   +       LDFLAGS+=-Wl,-install_name,$(LIBRARY_FILE)
  endif   endif
    ifeq ($(UNAME), Linux)
           LIBRARY_FILE=libpyvex.so
           STATIC_LIBRARY_FILE=libpyvex.a
   -       LDFLAGS=-Wl,-soname,$(LIBRARY_FILE)
   +       LDFLAGS+=-Wl,-soname,$(LIBRARY_FILE)
    endif
    ifeq ($(UNAME), NetBSD)
           LIBRARY_FILE=libpyvex.so
           STATIC_LIBRARY_FILE=libpyvex.a
   -       LDFLAGS=-Wl,-soname,$(LIBRARY_FILE)
   +       LDFLAGS+=-Wl,-soname,$(LIBRARY_FILE)
   +endif
 +ifeq ($(UNAME), NetBSD)  +ifeq ($(UNAME), NetBSD)
 +       LIBRARY_FILE=libpyvex.so  +       LIBRARY_FILE=libpyvex.so
 +       STATIC_LIBRARY_FILE=libpyvex.a  +       STATIC_LIBRARY_FILE=libpyvex.a
 +       LDFLAGS=-Wl,-soname,$(LIBRARY_FILE)  +       LDFLAGS+=-Wl,-soname,$(LIBRARY_FILE)
 +endif   endif
  ifeq ($(findstring MINGW,$(UNAME)), MINGW)   ifeq ($(findstring MINGW,$(UNAME)), MINGW)
         LIBRARY_FILE=pyvex.dll          LIBRARY_FILE=pyvex.dll
         STATIC_LIBRARY_FILE=libpyvex.a          STATIC_LIBRARY_FILE=libpyvex.a
 @@ -18,7 +23,7 @@ endif  -       LDFLAGS=
  CC=gcc  +       LDFLAGS+=
  AR=ar   endif
  INCFLAGS=-I $(VEX_INCLUDE_PATH)  
 -CFLAGS=-g -O2 -shared -fPIC --std=c99 $(INCFLAGS)  
 +CFLAGS=-g -O2 -shared -fPIC -std=c99 $(INCFLAGS)  
   
  OBJECTS=pyvex.o logging.o  
   
    # deeply evil

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>