ports/57886: Update port: deskutils/gnofin

KATO Tsuguru tkato at prontomail.com
Sun Oct 12 12:00:46 UTC 2003


>Number:         57886
>Category:       ports
>Synopsis:       Update port: deskutils/gnofin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 12 05:00:33 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Reaarange USE_GNOME

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/deskutils/gnofin/Makefile deskutils/gnofin/Makefile
--- /usr/ports/deskutils/gnofin/Makefile	Sat Oct  4 12:52:43 2003
+++ deskutils/gnofin/Makefile	Sat Oct 11 22:23:30 2003
@@ -14,25 +14,21 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Light-weight GNOME based financial management program
 
-USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
+USE_GNOME=	gnomehack gnomelibs gnomeprefix
 USE_GMAKE=	yes
-USE_GNOME=	yes
 USE_LIBTOOL=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib"
 
 MAN1=		gnofin.1
 
-pre-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
-		-e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
-		-e 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|' \
-		-e 's|$$(top_builddir)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
-		-e 's|$$(datadir)/gnome/|$$(datadir)/|g' \
-		-e ' s|$$(datadir)/locale|$$(prefix)/share/locale|g'
-	@{FIND} ${WRKSRC}/plugins -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
-		-e 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' \
+			${WRKSRC}/configure
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list