Re: qcad segfault on 7.1 amd64

2022-08-12 Thread Andy Bradford
Thus said Stuart Henderson on Fri, 12 Aug 2022 13:34:57 +0100:

> It  should  work  with  "make clean;  make  DEBUG=-g  repackage"  (see
> https://www.openbsd.org/faq/ports/ports.html#Backtrace) - this doesn't
> use the  DEBUG_PACKAGES mechanism  to produce detached  debug symbols,
> and so shouldn't fail in the same way.

Aha, I'll  give that a try.  I thought that  DEBUG was a "boolean"  so I
just set it as  "make DEBUG=1" and when that failed I  looked at the man
page and found DEBUG_PACKAGES.

> I have one possible  idea which I am trying now (it  will be some time
> before my build finishes to test it).

I'll try  with DEBUG=-g as well,  but as you  say, it will be  some time
before it finishes.

Andy



Patch for databases/pgctl

2011-07-31 Thread Andy Bradford
ports@,

The  following patch  against OPENBSD_4_9  helps databases/pgtcl  fit in
better with stu's  changes to tcl.port.mk. This  makes ``package require
Pgtcl'' work without altering auto_path in every script that uses it.

Thanks,

Andy

p.s. I am not subscribed to this list.

Index: Makefile
===
RCS file: /home/cvs/ports/databases/pgtcl/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile15 Nov 2010 00:22:53 -  1.6
+++ Makefile31 Jul 2011 05:40:20 -
@@ -36,7 +36,8 @@
--with-tcl=${MODTCL_LIBDIR} \
--with-tclinclude=${MODTCL_INCDIR} \
--with-postgres-include=${LOCALBASE}/include/postgresql \
-   --with-postgres-lib=${LOCALBASE}/lib
+   --with-postgres-lib=${LOCALBASE}/lib \
+   --libdir=${MODTCL_TCLDIR}
 
 MAKE_FLAGS=PKG_LIB_FILE=libpgtcl.so.${LIBpgtcl_VERSION}
 NO_REGRESS=Yes
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/databases/pgtcl/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST   13 Oct 2007 08:54:02 -  1.1.1.1
+++ pkg/PLIST   31 Jul 2011 05:40:20 -
@@ -1,9 +1,9 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $
 include/libpgtcl.h
-lib/pgtcl1.5/
-@lib lib/pgtcl1.5/libpgtcl.so.${LIBpgtcl_VERSION}
-lib/pgtcl1.5/pgtcl.tcl
-lib/pgtcl1.5/pkgIndex.tcl
+lib/tcl/pgtcl1.5/
+@lib lib/tcl/pgtcl1.5/libpgtcl.so.${LIBpgtcl_VERSION}
+lib/tcl/pgtcl1.5/pgtcl.tcl
+lib/tcl/pgtcl1.5/pkgIndex.tcl
 share/doc/pgtcl/
 share/doc/pgtcl/html/
 share/doc/pgtcl/html/index.html