1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

Fix build.

PR:		ports/53766
Submitted by:	Ports Fury
This commit is contained in:
Norikatsu Shigemura 2003-07-11 18:22:15 +00:00
parent 304b51fdf5
commit a1fa02a1b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84698

View File

@ -14,15 +14,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME applet to warn about task terminations
USE_X_PREFIX= yes
USE_GNOME= yes
USE_GNOME= gnomelibs gnomeprefix libpanel
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib"
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 ; \
post-patch:
@${REINPLACE_CMD} -e \
's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
.include <bsd.port.mk>