Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2005 10:56:01 -0700 (PDT)
From:      ringworm01@gmail.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86272: [NON-MAINTAINER] sysutils/portmanager update to 0.2.9_7
Message-ID:  <20050917175601.3815C130C41@ringworm.mechee.com>
Resent-Message-ID: <200509171820.j8HIKCC7003833@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86272
>Category:       ports
>Synopsis:       [NON-MAINTAINER] sysutils/portmanager update to 0.2.9_7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 17 18:20:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Michael C. Shultz
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Sep 10 22:35:00 PDT 2005 root@ringworm.mechee.com:/usr/obj/usr/src/sys/RINGWORM i386


>Description:

	Portmanager still coredumps under FreeBSD 6.0 unless it is compiled
	with WITH_DEBUG=1.  Fixing this one is going to be a pain so for now
	setting the port to default build with WITH_DEBUG=1

>How-To-Repeat:

	Under FreeBSD 6.0 build portmanager without setting the debug option,
	then run it.

>Fix:

	Set as default WITH_DEBUG=1

--- portmanager-0.2.9_7.diff begins here ---
diff -ruN portmanager/Makefile portmanager-0.2.9_7/Makefile
--- portmanager/Makefile	Sat Sep 17 09:59:05 2005
+++ portmanager-0.2.9_7/Makefile	Sat Sep 17 10:22:17 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	portmanager
 PORTVERSION=	0.2.9
-PORTREVISION=	6
+PORTREVISION=	7
 #-----------------------------------------
 #for local use, remove before submitting PR
 CATEGORIES=		sysutils
@@ -49,24 +49,28 @@
 			--with-sharedir=/share/portmanager	\
 			--with-tempdir=/tmp
 
-.if defined(WITH_DEBUG)
+#
+# In FreeBSD 6.0 dumps core when compiled WITHOUT debug symbols :(
+# so for a temp fix just making the WITH_DEBUG non optional.
+#
+#.if defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--with-debug=yes
-.endif
+#.endif
 
 INSTALLS_SHLIB=		yes
 USE_REINPLACE=		yes
 INSTALL_TARGET=		install info
 
-pre-fetch:
-.if !defined(WITH_DEBUG)
-	@${ECHO}	"***********************************************************************"
-	@${ECHO}	"* portmanager                                                         *"
-	@${ECHO}	"***********************************************************************"
-	@${ECHO}	"*                                                                     *"
-	@${ECHO}	"* WITH_DEBUG=yes enables debug support and all compile warnings       *"
-	@${ECHO}	"*                                                                     *"
-	@${ECHO}	"***********************************************************************"
-.endif
+#pre-fetch:
+#.if !defined(WITH_DEBUG)
+#	@${ECHO}	"***********************************************************************"
+#	@${ECHO}	"* portmanager                                                         *"
+#	@${ECHO}	"***********************************************************************"
+#	@${ECHO}	"*                                                                     *"
+#	@${ECHO}	"* WITH_DEBUG=yes enables debug support and all compile warnings       *"
+#	@${ECHO}	"*                                                                     *"
+#	@${ECHO}	"***********************************************************************"
+#.endif
 
 post-configure:
 	@${REINPLACE_CMD} -e	\
--- portmanager-0.2.9_7.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050917175601.3815C130C41>