diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-03-29 16:35:19 +0000 |
commit | 4ca0e60800b90ba4a6de31beabeee8ccce611649 (patch) | |
tree | 8324ab31f68eba587c532d238cd3f502d0a56322 /mail | |
parent | 7530f93a62fb8bcd686d08f2bfa5dc0f623f3c73 (diff) | |
download | freebsd-ports-4ca0e60800b90ba4a6de31beabeee8ccce611649.zip |
-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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/balsa/Makefile | 2 | ||||
-rw-r--r-- | mail/balsa2/Makefile | 2 | ||||
-rw-r--r-- | mail/evolution-devel/Makefile | 2 | ||||
-rw-r--r-- | mail/evolution/Makefile | 2 | ||||
-rw-r--r-- | mail/mmc/Makefile | 2 | ||||
-rw-r--r-- | mail/vbsfilter/Makefile | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile index dd2448130d72..10f8514eb6b9 100644 --- a/mail/balsa/Makefile +++ b/mail/balsa/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= balsa.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/mail/balsa2/Makefile b/mail/balsa2/Makefile index dd2448130d72..10f8514eb6b9 100644 --- a/mail/balsa2/Makefile +++ b/mail/balsa2/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= balsa.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/mail/evolution-devel/Makefile b/mail/evolution-devel/Makefile index ef421ead5509..27e523c4d363 100644 --- a/mail/evolution-devel/Makefile +++ b/mail/evolution-devel/Makefile @@ -40,7 +40,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PLIST_SUB= VERSION=${PORTVERSION} 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/mail/evolution/Makefile b/mail/evolution/Makefile index ef421ead5509..27e523c4d363 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -40,7 +40,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PLIST_SUB= VERSION=${PORTVERSION} 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/mail/mmc/Makefile b/mail/mmc/Makefile index b5d34b4f9a67..c5278b6a9f00 100644 --- a/mail/mmc/Makefile +++ b/mail/mmc/Makefile @@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-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|\$$\(gnomedatadir\)/gnome/|\$$\(datadir\)/|g ; \ diff --git a/mail/vbsfilter/Makefile b/mail/vbsfilter/Makefile index a589877153fd..9fa3dd9e96d3 100644 --- a/mail/vbsfilter/Makefile +++ b/mail/vbsfilter/Makefile @@ -20,8 +20,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail NO_PACKAGE= "only with sendmail from the ports" CTARGETS+= vbsfilter-1.3 -CFLAGS+= -Wall -I$(LOCALBASE)/include -D_THREAD_SAFE -FLAGS+= -pthread +CFLAGS+= -Wall -I$(LOCALBASE)/include ${PTHREAD_CFLAGS} +FLAGS+= ${PTHREAD_LIBS} LDFLAGS+= -L$(LOCALBASE)/lib LIBS+= -lmilter -lsmutil .if defined(SENDMAIL_WITH_SFIO) |