diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-04 14:28:53 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-04 14:28:53 +0000 |
commit | 3412df02044c1cc61a7d77311bbd75eab5de49cd (patch) | |
tree | 0567ae045ebd93a3e8ba35d0afead49fa336c74e /ftp/pavuk | |
parent | - Fix build (diff) |
- Fix build
PR: 56433
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=88545
Diffstat (limited to 'ftp/pavuk')
-rw-r--r-- | ftp/pavuk/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile index faf63a668dd0..7b7af6d2ce01 100644 --- a/ftp/pavuk/Makefile +++ b/ftp/pavuk/Makefile @@ -20,17 +20,19 @@ COMMENT= HTTP, FTP and Gopher mirroring tool 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 @@ CONFIGURE_ARGS+= --disable-gtk .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 |