Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
$NetBSD: patch-aa,v 1.2 2002/09/17 17:02:30 abs Exp $
--- Makefile.orig Sat Jun 16 04:39:17 2001
+++ Makefile
@@ -1,3 +1,12 @@
+OPSYS!= uname -s
+# On NetBSD -nostdlib will exclude the ELF note that tags binaries as native.
+.if (${OPSYS} == NetBSD)
+COMPILEFLAGS=-D_main=main -DWINDOWS
+.else
+COMPILEFLAGS=-nostdlib
+.endif
+
all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
+
.S:
- gcc -s -nostdlib -o $@ $<
+ gcc -s ${COMPILEFLAGS} -o $@ $<