1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Rearrange USE_GNOME

PR:		55156
Submitted by:	Ports Fury
Approved by:	fjoe (mentor) (implicit)
This commit is contained in:
Kirill Ponomarev 2003-08-01 18:30:46 +00:00
parent cf71a7a200
commit de3c7785c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86140

View File

@ -16,27 +16,13 @@ COMMENT= A NNTP client for Gnome
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_PERL5= yes
USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libmutt/configure
CONFIGURE_ENV= glibpath="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
BROKEN= "Does not compile"
.endif
pre-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>
.include <bsd.port.mk>