pkgsrc-WIP-changes archive

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

pmars: Fix linking issue on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jun 11 20:20:29 2016 +0200
Changeset:	c679c6aa2965e3df9eada50eb31e6bae327dc554

Added Files:
	pmars/patches/patch-src_Makefile

Log Message:
pmars: Fix linking issue on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c679c6aa2965e3df9eada50eb31e6bae327dc554

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

diffstat:
 pmars/patches/patch-src_Makefile | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diffs:
diff --git a/pmars/patches/patch-src_Makefile b/pmars/patches/patch-src_Makefile
new file mode 100644
index 0000000..89fa7cc
--- /dev/null
+++ b/pmars/patches/patch-src_Makefile
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- src/Makefile.orig	2000-12-24 12:53:39.000000000 +0000
++++ src/Makefile
+@@ -37,8 +37,7 @@ flags:
+ 
+ $(MAINFILE): $(OBJ1) $(OBJ2) $(OBJ3)
+ 	@echo Linking $(MAINFILE)
+-	@$(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB)
+-	@strip $(MAINFILE)
++	$(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB)
+ 	@echo done
+ 
+ token.o asm.o disasm.o: asm.h
+@@ -55,9 +54,8 @@ $(OBJ1) $(OBJ2) $(OBJ3): Makefile config
+ 
+ .c.o:
+ 	@echo Compiling $*.o 
+-	@$(CC) $(CFLAGS) -c $*.c
++	$(CC) $(CFLAGS) -c $*.c
+ 
+ 
+ clean:
+ 	rm -f $(OBJ1) $(OBJ2) $(OBJ3) core
+-


Home | Main Index | Thread Index | Old Index