Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 23:00:20 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56433: Update port: ftp/pavuk
Message-ID:  <20030904230020.6ce851ab.tkato@prontomail.com>
Resent-Message-ID: <200309041410.h84EAIqL088122@freefall.freebsd.org>

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

>Number:         56433
>Category:       ports
>Synopsis:       Update port: ftp/pavuk
>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:   Thu Sep 04 07:10:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/pavuk/Makefile ftp/pavuk/Makefile
--- /usr/ports/ftp/pavuk/Makefile	Mon Sep  1 22:22:16 2003
+++ ftp/pavuk/Makefile	Thu Sep  4 21:57:11 2003
@@ -20,17 +20,19 @@
 
 LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
 
-USE_REINPLACE=	yes
-WANT_GNOME=	yes
 USE_OPENSSL=	yes
+WANT_GNOME=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
-LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-locale-dir=${LOCALBASE}/share/locale \
 		--disable-debug --disable-gnome --enable-threads
 
 MAN1=		pavuk.1
 
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
 .include <bsd.port.pre.mk>
 
 .if ${HAVE_GNOME:Mgtk12}!=""
@@ -41,11 +43,12 @@
 .endif
 
 pre-patch:
-	@${REINPLACE_CMD} -e 's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \
+	@${REINPLACE_CMD} -e \
+		's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \
 		 s|-pthread|${PTHREAD_LIBS}|g ; \
 		 s|-lpthreads|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 	@${FIND}  ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|\$$(datadir)/icons|$$(pkgdatadir)/icons|g'
+		's|$$(datadir)/icons|$$(pkgdatadir)/icons|g'
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${PREFIX}/etc
>Release-Note:
>Audit-Trail:
>Unformatted:



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