diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-25 22:04:48 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-25 22:04:48 +0000 |
commit | 7b98df9f62f6e510dfd30daf5ba4851745b7cb25 (patch) | |
tree | df5490a533c4804c88e8530313961f7a857f6f2b /ftp | |
parent | 083cf1bc6e2068c44e157bcd51009f41eceac946 (diff) | |
download | ports-7b98df9f62f6e510dfd30daf5ba4851745b7cb25.tar.gz ports-7b98df9f62f6e510dfd30daf5ba4851745b7cb25.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/gftp/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index 297c6105bfab..ee25c10c9b13 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -21,6 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ USE_GNOMENG= yes USE_GNOME+= gnomehack +USE_REINPLACE= yes .if defined(WITHOUT_X11) CONFIGURE_ARGS+= --disable-gtkport --disable-gtk20 @@ -53,8 +54,9 @@ PLIST_SUB+= NOX11:="" .if ${HAVE_GNOME:Mgnomelibs}!="" USE_GNOME+= gnomeprefix gnomelibs -PKGNAMESUFFIX= -gnome -PLIST_SUB= DATADIR="share/gnome" +PKGNAMESUFFIX+= -gnome +PLIST_SUB+= DATADIR="share/gnome" +MAKE_ENV= HAVE_GNOME=1 .else PLIST_SUB+= DATADIR="share" .endif @@ -68,7 +70,7 @@ pre-everything:: @${ECHO} "" post-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure |