Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2013 00:24:35 +0100 (CET)
From:      Rodrigo Osorio <rodrigo@bebik.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184460: devel/liboop stage fix 
Message-ID:  <201312022324.rB2NOZrb011975@q.workgroup>
Resent-Message-ID: <201312022330.rB2NU1u6074138@freefall.freebsd.org>

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

>Number:         184460
>Category:       ports
>Synopsis:       devel/liboop stage fix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 23:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rodrigo Osorio
>Release:        FreeBSD 10.0-BETA3 i386
>Organization:
>Environment:
System: FreeBSD q 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 21:15:32 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Fix stage
	Add license
	Strip binary
	Multiple fixes to make porlint happy
	
>How-To-Repeat:
	
>Fix:

	

--- liboop.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 335354)
+++ Makefile	(working copy)
@@ -11,13 +11,14 @@
 MAINTAINER=	rodrigo@bebik.net
 COMMENT=	A low-level event loop management library for POSIX-based OS
 
-LIB_DEPENDS=	adns.1:${PORTSDIR}/dns/adns \
-		wwwcore.1:${PORTSDIR}/www/libwww
+LICENSE=	GPLv2
 
+LIB_DEPENDS=	libadns.so:${PORTSDIR}/dns/adns \
+		libwwwcore.so:${PORTSDIR}/www/libwww
+
+USES=	tcl pathfix
 USE_BZIP2=	yes
-USE_GNOME=	glib12 glib20 gnomehack
-USE_TCL_BUILD=	yes
-USE_TCL=	yes
+USE_GNOME=	glib12 glib20
 USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--with-libwww
 USE_LDCONFIG=	yes
@@ -26,8 +27,15 @@
 CPPFLAGS+=	-I${TCL_INCLUDEDIR} -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
+LIB_FILES=	liboop.so.4 liboop-www.so.0 liboop-tcl.so.0 liboop-glib2.so.0 liboop-glib.so.1 \
+		liboop-rl.so.0 liboop-adns.so.3
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|8\.4|${TCL_VER:S/.//}|g' ${WRKSRC}/configure
 
+post-install:
+.for file in ${LIB_FILES}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${file}
+.endfor
+
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 335354)
+++ pkg-plist	(working copy)
@@ -31,3 +31,7 @@
 lib/liboop.so.4
 libdata/pkgconfig/liboop-glib2.pc
 libdata/pkgconfig/liboop.pc
+lib/liboop-glib2.a
+lib/liboop-glib2.la
+lib/liboop-glib2.so
+lib/liboop-glib2.so.0
--- liboop.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?201312022324.rB2NOZrb011975>