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
+25
View File
@@ -0,0 +1,25 @@
$NetBSD: patch-ac,v 1.1 2011/03/10 10:02:34 drochner Exp $
--- testprof/makefile.shared.orig 2007-05-12 14:46:25.000000000 +0000
+++ testprof/makefile.shared
@@ -1,4 +1,4 @@
-CC=libtool --mode=compile gcc
+#CC=libtool --mode=compile gcc
CFLAGS += -I../src/headers -I./ -Wall -W
@@ -17,8 +17,12 @@ endif
default: $(LIBTEST)
-$(LIBTEST): $(OBJECTS)
- libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep "[.]lo" | xargs` -o $@ -rpath $(LIBPATH) -version-info $(VERSION)
+.SUFFIXES: .lo
+.c.lo:
+ ${LIBTOOL} --mode=compile ${CC} -c ${CFLAGS} $< -o $@
+
+$(LIBTEST): $(OBJECTS:.o=.lo)
+ libtool --silent --mode=link ${CC} $(CFLAGS) `find . -type f | grep "[.]lo" | xargs` -o $@ -rpath $(LIBPATH) -version-info $(VERSION)
install: $(LIBTEST)
libtool --silent --mode=install install -c $(LIBTEST) $(DESTDIR)$(LIBPATH)/$(LIBTEST)