pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/qcad Always link the thread library explicitly whe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa1d997ebbb0
branches:  trunk
changeset: 505611:aa1d997ebbb0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 05 16:24:37 2006 +0000

description:
Always link the thread library explicitly when linking against qt-mt,
needed on DragonFly and FreeBSD 4, not hurting on other platforms.
Add DragonFly to the BSD enumeration.

diffstat:

 cad/qcad/Makefile         |  3 ++-
 cad/qcad/distinfo         |  6 +++---
 cad/qcad/patches/patch-aa |  4 ++--
 cad/qcad/patches/patch-ac |  6 +++---
 4 files changed, 10 insertions(+), 9 deletions(-)

diffs (71 lines):

diff -r 225eb7958888 -r aa1d997ebbb0 cad/qcad/Makefile
--- a/cad/qcad/Makefile Thu Jan 05 16:03:25 2006 +0000
+++ b/cad/qcad/Makefile Thu Jan 05 16:24:37 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2006/01/05 10:08:58 ghen Exp $
+# $NetBSD: Makefile,v 1.32 2006/01/05 16:24:37 joerg Exp $
 
 DISTNAME=              qcad-1.5.4-src
 PKGNAME=               qcad-1.5.4
@@ -52,4 +52,5 @@
 # If it is, then remove this comment.  If it is not, then remove
 # this comment and the line below, and bump PKGREVISION.
 BUILDLINK_DEPMETHOD.qt3-tools= full
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 225eb7958888 -r aa1d997ebbb0 cad/qcad/distinfo
--- a/cad/qcad/distinfo Thu Jan 05 16:03:25 2006 +0000
+++ b/cad/qcad/distinfo Thu Jan 05 16:24:37 2006 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.11 2005/08/18 23:51:24 dmcmahill Exp $
+$NetBSD: distinfo,v 1.12 2006/01/05 16:24:37 joerg Exp $
 
 SHA1 (qcad-1.5.4-src.tar.gz) = d28f31bb392cdcd5d7ea9396647e07851757c790
 RMD160 (qcad-1.5.4-src.tar.gz) = 3afa9e1e8ff7e3dc3c064310c1ad586cd0a9cfc1
 Size (qcad-1.5.4-src.tar.gz) = 2884049 bytes
-SHA1 (patch-aa) = f2752f57849a237a66029dfd80d5afcbf533cddc
+SHA1 (patch-aa) = eb8288507af50870ac8d49c9feb69e7a37edf4e2
 SHA1 (patch-ab) = cea24c43b1d9187f8b55c2c831e26ac8d7a6efe7
-SHA1 (patch-ac) = d3879d61fca6b47ba179b7991c7d718392c05d71
+SHA1 (patch-ac) = 1806cadf475ab4c53b327d26c98eea10189e99de
 SHA1 (patch-ad) = 873961829011b8717c154d4c4caf7e8c428a848e
 SHA1 (patch-af) = 61b18b29e50246dce977bc7cee24aaa2b78d4a95
diff -r 225eb7958888 -r aa1d997ebbb0 cad/qcad/patches/patch-aa
--- a/cad/qcad/patches/patch-aa Thu Jan 05 16:03:25 2006 +0000
+++ b/cad/qcad/patches/patch-aa Thu Jan 05 16:24:37 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.8 2004/10/12 21:02:18 ben Exp $
+$NetBSD: patch-aa,v 1.9 2006/01/05 16:24:37 joerg Exp $
 
 --- Makefile.orig      2002-09-20 19:26:57.000000000 +0200
 +++ Makefile
@@ -27,7 +27,7 @@
 -LIBS     = $(SUBLIBS)  -Wl,-rpath,$(QTDIR)/lib  -L$(QTDIR)/lib  -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
 -AR       = ar cqs
 -RANLIB   = 
-+LIBS     = -Wl,-R$(QTDIR)/lib -L$(QTDIR)/lib -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -Wl,-R$(LOCALBASE)/lib -L$(LOCALBASE)/lib -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lSM -lICE -lXmu -lpng -lz 
-ljpeg
++LIBS     = -Wl,-R$(QTDIR)/lib -L$(QTDIR)/lib -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -Wl,-R$(LOCALBASE)/lib -L$(LOCALBASE)/lib -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lSM -lICE -lXmu -lpng -lz 
-ljpeg ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 +AR       ?= ar cqs
 +RANLIB   ?= 
  MOC      = $(QTDIR)/bin/moc
diff -r 225eb7958888 -r aa1d997ebbb0 cad/qcad/patches/patch-ac
--- a/cad/qcad/patches/patch-ac Thu Jan 05 16:03:25 2006 +0000
+++ b/cad/qcad/patches/patch-ac Thu Jan 05 16:24:37 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.3 2005/08/18 23:51:24 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.4 2006/01/05 16:24:37 joerg Exp $
 
---- rprgdef.h.orig     2002-09-20 13:26:57.000000000 -0400
+--- rprgdef.h.orig     2002-09-20 17:26:57.000000000 +0000
 +++ rprgdef.h
 @@ -22,16 +22,27 @@
  //#define DEF_LESS_DIALOGS    // Don't show the startup dialog
@@ -29,7 +29,7 @@
  
 -#ifdef __FreeBSD__
 +
-+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
  #define DEF_FREEBSD
  #undef DEF_LINUX
  #define RUNNING_LINUX   true    // close enough



Home | Main Index | Thread Index | Old Index