diff options
author | marcus <marcus@FreeBSD.org> | 2002-09-22 19:48:41 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-09-22 19:48:41 +0000 |
commit | 4a5c36f7bd410025b64540692f85f4e2f194a3ea (patch) | |
tree | 1a51abfff47ef3133c68c8c67da6fb27200b745a /ftp | |
parent | ef0862d199aea7250ea52531233641de61faec95 (diff) | |
download | FreeBSD-ports-4a5c36f7bd410025b64540692f85f4e2f194a3ea.zip FreeBSD-ports-4a5c36f7bd410025b64540692f85f4e2f194a3ea.tar.gz |
Fix build and package build after recent GNOMENG conversion.
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/gftp/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index ef6459a..0b9a8b0 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -16,6 +16,7 @@ MAINTAINER= lehmann@ans-netz.de USE_X_PREFIX= yes USE_GNOMENG= yes WANT_GNOME= yes +USE_GNOME= gtk12 GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" @@ -24,18 +25,18 @@ MAN1= gftp.1 .include <bsd.port.pre.mk> -.if ${HAVE_GNOME:Mgtk12}!="" -USE_GNOME+= gtk12 -PKGNAMESUFFIX= -gtk +.if ${HAVE_GNOME:Mgnomelibs}!="" +USE_GNOME+= gnomeprefix gnomehack gnomelibs +PKGNAMESUFFIX= -gnome +PLIST_SUB= DATADIR="share/gnome" +.else +PLIST_SUB= DATADIR="share" .endif -pre-patch: +post-patch: @${PERL} -pi -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 - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' .include <bsd.port.post.mk> |