ports/91095: [UPDATE]: lang/ferite: Update to version 1.0.1

Frank Laszlo laszlof at vonostingroup.com
Fri Dec 30 15:00:55 UTC 2005


>Number:         91095
>Category:       ports
>Synopsis:       [UPDATE]: lang/ferite: Update to version 1.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 30 15:00:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frank Laszlo
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD ritamari.vonostingroup.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 12:06:15 EST 2005 laszlof at ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386


	
>Description:
	This patch updates lang/ferite to version 1.0.1 on the developers site. This version adds various bug fixes. It
	seems that the developer has added '-lferite' to the building of the modules, but did not install libferite.so.1
	before doing so, or add -L/path/to/lib in the LDFLAGS. I will contact the developer and see if this can be fixed
	upstream so that we dont have to use REINPLACE_CMD to patch it. The ferite-devel list is CC'd on this PR.

>How-To-Repeat:
	
>Fix:

	



--- ferite-1.0.1.diff begins here ---
diff -NrU3 ferite.orig/Makefile ferite/Makefile
--- ferite.orig/Makefile	Fri Dec 30 08:13:42 2005
+++ ferite/Makefile	Fri Dec 30 09:54:18 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ferite
-PORTVERSION=	1.0.0
+PORTVERSION=	1.0.1
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,6 +19,7 @@
 
 USE_AUTOTOOLS=	libtool:15
 USE_GMAKE=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
@@ -26,10 +27,16 @@
 INSTALLS_SHLIB=	yes
 PLIST_SUB=	MACHINE_ARCH=${MACHINE_ARCH}
 
+.include <bsd.port.pre.mk>
+
+post-patch:
+	@${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \
+	${REINPLACE_CMD} -e "s|-lferite|-lferite -L${WRKSRC}/src/.libs|g"
+
 MAN1=		builder.1 ferite.1
 
 .if defined(NOPORTDOCS)
 MAKE_ENV+=	NOPORTDOCS=${NOPORTDOCS}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -NrU3 ferite.orig/distinfo ferite/distinfo
--- ferite.orig/distinfo	Fri Dec 30 08:13:42 2005
+++ ferite/distinfo	Fri Dec 30 08:14:05 2005
@@ -1,3 +1,3 @@
-MD5 (ferite-1.0.0.tar.gz) = a001fe4e1fd446ad6118a3266a7c8fd5
-SHA256 (ferite-1.0.0.tar.gz) = a8c44011f610055973ace5ddebcfe0ee0e2b7c87569b8c66a44c34bc5757a868
-SIZE (ferite-1.0.0.tar.gz) = 2032790
+MD5 (ferite-1.0.1.tar.gz) = 3232b471d5af8ca2673c93ead3ead25a
+SHA256 (ferite-1.0.1.tar.gz) = e01fa9c62b31f824ef4d4f78834c9c0946054b7151ad826d98ba053f7467bdc4
+SIZE (ferite-1.0.1.tar.gz) = 2038863
--- ferite-1.0.1.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list