diff options
author | ache <ache@FreeBSD.org> | 2005-02-08 21:04:49 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2005-02-08 21:04:49 +0800 |
commit | 22dee8017c04f7c09967f84c1f3b04a5ace555c8 (patch) | |
tree | fb6ec31e680642482247eb4d4141b46c215de460 /mail | |
parent | cca3a8fc34ca76fd7cf1f14d39ee2beb824b22cd (diff) | |
download | freebsd-ports-gnome-22dee8017c04f7c09967f84c1f3b04a5ace555c8.tar.gz freebsd-ports-gnome-22dee8017c04f7c09967f84c1f3b04a5ace555c8.tar.zst freebsd-ports-gnome-22dee8017c04f7c09967f84c1f3b04a5ace555c8.zip |
Use PTHREADS_{LIBS,CFLAGS} instead of Makefile.in patch
Approved by: aragorn+ports@teaser.fr
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-greylist/Makefile | 4 | ||||
-rw-r--r-- | mail/milter-greylist/files/patch-Makefile.in | 34 |
2 files changed, 4 insertions, 34 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile index 37f7ac0e94fe..7860bd8a8d55 100644 --- a/mail/milter-greylist/Makefile +++ b/mail/milter-greylist/Makefile @@ -7,6 +7,7 @@ PORTNAME= milter-greylist PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ EXTRACT_SUFX= .tgz @@ -20,6 +21,9 @@ MAN8= milter-greylist.8 GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --with-user=smmsp +CFLAGS+= ${PTHREAD_CFLAGS} +LIBS+= ${PTHREAD_LIBS} +CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LIBS}" ALL_TARGET= milter-greylist diff --git a/mail/milter-greylist/files/patch-Makefile.in b/mail/milter-greylist/files/patch-Makefile.in deleted file mode 100644 index e462f272c35a..000000000000 --- a/mail/milter-greylist/files/patch-Makefile.in +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile.in.orig Sun Nov 28 01:33:29 2004 -+++ Makefile.in Sat Dec 11 14:22:50 2004 -@@ -29,9 +29,9 @@ - # OF THE POSSIBILITY OF SUCH DAMAGE. - # - --CFLAGS= @CFLAGS@ -D_BSD_SOURCE --LDFLAGS= @LDFLAGS@ --LIBS= @LIBS@ -+CFLAGS= -O2 -pthread -+LDFLAGS= -pthread -+LIBS= -lmilter - prefix= @prefix@ - exec_prefix= @exec_prefix@ - SYSCONFDIR= @sysconfdir@ -@@ -40,15 +40,15 @@ - MANDIR= @mandir@ - USER= @USER@ - --CC= @CC@ -+#CC= @CC@ - MKDEP= @MKDEP@ - RM= @RM@ - MV= @MV@ - TEST= @TEST@ - SED= @SED@ - INSTALL= @INSTALL@ --LEX= @LEX@ --YACC= @YACC@ -+#LEX= @LEX@ -+#YACC= @YACC@ - TRUE= @TRUE@ - - OBJ= milter-greylist.o pending.o except.o sync.o \ |