From 4ca0e60800b90ba4a6de31beabeee8ccce611649 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 29 Mar 2001 16:35:19 +0000 Subject: -pthread --> ${PTHREAD_LIBS} -D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly. --- ftp/gftp/Makefile | 2 +- ftp/gtm/Makefile | 2 +- ftp/junglemonkey/Makefile | 2 +- ftp/lftp/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ftp') diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index a06c5b672592..4de93c232079 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -29,7 +29,7 @@ USE_GNOME= yes .endif pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${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 diff --git a/ftp/gtm/Makefile b/ftp/gtm/Makefile index c1107396ee77..575b1b5f0f3b 100644 --- a/ftp/gtm/Makefile +++ b/ftp/gtm/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ diff --git a/ftp/junglemonkey/Makefile b/ftp/junglemonkey/Makefile index d4cf0e374a09..d19a1a37050a 100644 --- a/ftp/junglemonkey/Makefile +++ b/ftp/junglemonkey/Makefile @@ -28,7 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= jm.1 jmlite.1 jmsearchserver.1 mtprendezvous.1 pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile index c6170d9ef039..5f048084c984 100644 --- a/ftp/lftp/Makefile +++ b/ftp/lftp/Makefile @@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= lftp.1 pre-patch: - @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure post-install: -- cgit v1.2.3