pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/pev



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Mar 27 20:56:25 UTC 2020

Modified Files:
        pkgsrc/security/pev: distinfo
Added Files:
        pkgsrc/security/pev/patches: patch-src_plugins_Makefile

Log Message:
Fix linking on !Linux Unix systems.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/security/pev/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pev/patches/patch-src_plugins_Makefile

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

Modified files:

Index: pkgsrc/security/pev/distinfo
diff -u pkgsrc/security/pev/distinfo:1.6 pkgsrc/security/pev/distinfo:1.7
--- pkgsrc/security/pev/distinfo:1.6    Tue Oct 22 16:37:05 2019
+++ pkgsrc/security/pev/distinfo        Fri Mar 27 20:56:25 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2019/10/22 16:37:05 khorben Exp $
+$NetBSD: distinfo,v 1.7 2020/03/27 20:56:25 joerg Exp $
 
 SHA1 (pev-0.80.tar.gz) = 18dcb65269344b5047504cca8598477b33532bab
 RMD160 (pev-0.80.tar.gz) = 01ed4fa37c5349397dbd8aa3b592b9657e63acf8
@@ -8,3 +8,4 @@ SHA1 (patch-src_Makefile) = f51a9d6afa64
 SHA1 (patch-src_pehash.c) = c31083fca0d98dc607eb4f8b338bd93dd714f594
 SHA1 (patch-src_pesec.c) = fa302aa9bf2f07558f6cef0c41b0cd9063df7706
 SHA1 (patch-src_plugins.c) = c85c5c3b918850c7383f30d2efdae38985cdd143
+SHA1 (patch-src_plugins_Makefile) = ef5357385db2ac15c4f853b296dfee3703fd62eb

Added files:

Index: pkgsrc/security/pev/patches/patch-src_plugins_Makefile
diff -u /dev/null pkgsrc/security/pev/patches/patch-src_plugins_Makefile:1.1
--- /dev/null   Fri Mar 27 20:56:25 2020
+++ pkgsrc/security/pev/patches/patch-src_plugins_Makefile      Fri Mar 27 20:56:25 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_plugins_Makefile,v 1.1 2020/03/27 20:56:25 joerg Exp $
+
+--- src/plugins/Makefile.orig  2020-03-27 18:10:48.425427652 +0000
++++ src/plugins/Makefile
+@@ -55,9 +55,7 @@ json: LIBNAME = $(json_LIBNAME)
+ json: $(json_OBJS)
+ 
+ $(PLUGINS):
+-ifeq ($(PLATFORM_OS), Linux)
+-      $(LINK) -shared -Wl,-soname,$(LIBNAME).so.1 $(LDFLAGS) -o ${plugins_BUILDDIR}/$(LIBNAME).so $^
+-else ifeq ($(PLATFORM_OS), Darwin)
++ifeq ($(PLATFORM_OS), Darwin)
+       $(LINK) -headerpad_max_install_names -dynamiclib \
+               -undefined dynamic_lookup -fno-common \
+               -flat_namespace -install_name $(LIBNAME).$(VERSION).dylib \
+@@ -65,6 +63,8 @@ else ifeq ($(PLATFORM_OS), Darwin)
+               $(LDFLAGS) -o ${plugins_BUILDDIR}/$(LIBNAME).dylib $^
+ else ifeq ($(PLATFORM_OS), CYGWIN)
+       $(LINK) -shared $(LDFLAGS) -o ${plugins_BUILDDIR}/$(LIBNAME).dll $^
++else
++      $(LINK) -shared -Wl,-soname,$(LIBNAME).so.1 $(LDFLAGS) -o ${plugins_BUILDDIR}/$(LIBNAME).so $^
+ endif
+ 
+ $(plugins_BUILDDIR)/%.o: %.c



Home | Main Index | Thread Index | Old Index