diff options
author | arved <arved@FreeBSD.org> | 2003-01-25 22:04:48 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-01-25 22:04:48 +0000 |
commit | 8fd165b3d434b909dfc8f92a227c332201335528 (patch) | |
tree | f5a5ccf65a9a70545e5f2d37d123c1fef5e6175b /ftp/gftp | |
parent | 2ceef55be81940990984ebd7d97c8e9864191f0b (diff) | |
download | FreeBSD-ports-8fd165b3d434b909dfc8f92a227c332201335528.zip FreeBSD-ports-8fd165b3d434b909dfc8f92a227c332201335528.tar.gz |
PERL -> REINPLACE_CMD
Fix PLIST_SUB for HAVE_GNOME
PR: 47231
Submitted by: Oliver Lehmann <lehmann@ans-netz.de>
Diffstat (limited to 'ftp/gftp')
-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 297c610..ee25c10 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 |