Skip site navigation (1)Skip section navigation (2)
Date:      12 Sep 2002 15:37:40 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42699: [PATCH] Unbreak devel/clint (plist errors)
Message-ID:  <20020912153740.83533.qmail@outpost.globcon.net>

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

>Number:         42699
>Category:       ports
>Synopsis:       [PATCH] Unbreak devel/clint (plist errors)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 08:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386
>Description:
- Unbreak the port (plist errors)

Noticed by:	bento logs
		http://bento.freebsd.org/errorlogs/4-latest/clint-0.1.2_1.log

While I'm here:
- USE_REINPLACE instead of unconditional use of perl
- USE_LIBTOOL to avoid installing .la files

>How-To-Repeat:
>Fix:

--- clint.patch begins here ---
diff -ruN /usr/ports/devel/clint/Makefile ./Makefile
--- /usr/ports/devel/clint/Makefile	Sun Sep  8 04:08:19 2002
+++ ./Makefile	Thu Sep 12 19:05:24 2002
@@ -19,11 +19,13 @@
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 INSTALLS_SHLIB=	yes
+USE_LIBTOOL=	yes
+USE_REINPLACE=	yes
 
 post-patch:
-	@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
+	${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
 
 post-install:
-	@install-info ${PREFIX}/info/clint.info ${PREFIX}/info/dir
+	install-info ${PREFIX}/info/clint.info ${PREFIX}/info/dir
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/devel/clint/pkg-plist ./pkg-plist
--- /usr/ports/devel/clint/pkg-plist	Sun Sep  8 04:08:19 2002
+++ ./pkg-plist	Thu Sep 12 19:16:54 2002
@@ -6,11 +6,9 @@
 info/clint.info
 @exec install-info %D/info/clint.info %D/info/dir
 lib/clint/python.a
-lib/clint/python.la
 lib/clint/python.so
 lib/clint/python.so.0
 lib/libpython++.a
-lib/libpython++.la
 lib/libpython++.so
 lib/libpython++.so.0
 @dirrm lib/clint
--- clint.patch ends here ---

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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