pkgsrc-Changes archive

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

CVS commit: pkgsrc/biology/miniasm



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  9 08:31:07 UTC 2023

Modified Files:
        pkgsrc/biology/miniasm: distinfo
Added Files:
        pkgsrc/biology/miniasm/patches: patch-Makefile

Log Message:
miniasm: Honour LDFLAGS. Hopefully fixes build on platforms where zlib
is installed from pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/biology/miniasm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/biology/miniasm/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/biology/miniasm/distinfo
diff -u pkgsrc/biology/miniasm/distinfo:1.3 pkgsrc/biology/miniasm/distinfo:1.4
--- pkgsrc/biology/miniasm/distinfo:1.3 Tue Oct 26 10:03:41 2021
+++ pkgsrc/biology/miniasm/distinfo     Sun Jul  9 08:31:06 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:03:41 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/07/09 08:31:06 nia Exp $
 
 BLAKE2s (miniasm/v0.3.tar.gz) = 0a6cd0d9e5c1872f30cafd665a597744eacea7d04f002b63ac751a96c998657e
 SHA512 (miniasm/v0.3.tar.gz) = e5f622e079283d69bb878cbb9768f7522d279f89fc11f86a2b1fdade9e09e681e742d9e4be46bed4c864e4fef3d0d6760348c85cf1d5e029a36d96c45f885160
 Size (miniasm/v0.3.tar.gz) = 204805 bytes
+SHA1 (patch-Makefile) = 34c4a68d7fd88659162e534a8a92a265a6982a4a

Added files:

Index: pkgsrc/biology/miniasm/patches/patch-Makefile
diff -u /dev/null pkgsrc/biology/miniasm/patches/patch-Makefile:1.1
--- /dev/null   Sun Jul  9 08:31:07 2023
+++ pkgsrc/biology/miniasm/patches/patch-Makefile       Sun Jul  9 08:31:07 2023
@@ -0,0 +1,26 @@
+$NetBSD: patch-Makefile,v 1.1 2023/07/09 08:31:07 nia Exp $
+
+Honour LDFLAGS/CFLAGS.
+
+--- Makefile.orig      2018-07-24 01:55:13.000000000 +0000
++++ Makefile
+@@ -1,5 +1,5 @@
+ CC=                   gcc
+-CFLAGS=               -g -Wall -O2 -Wc++-compat
++CFLAGS+=      -Wall -Wc++-compat
+ CPPFLAGS=
+ INCLUDES=     -I.
+ OBJS=         sys.o sdict.o paf.o asg.o common.o hit.o asm.o
+@@ -14,10 +14,10 @@ LIBS=              -lm -lz -lpthread
+ all:$(PROG)
+ 
+ miniasm:$(OBJS) main.o
+-              $(CC) $(CFLAGS) $^ -o $@ $(LIBS)
++              $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+ 
+ minidot:paf.o sdict.o dotter.o
+-              $(CC) $(CFLAGS) $^ -o $@ $(LIBS)
++              $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+ 
+ clean:
+               rm -fr gmon.out *.o a.out $(PROG) *~ *.a *.dSYM session*



Home | Main Index | Thread Index | Old Index