Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Aug 2004 13:50:17 +0200 (CEST)
From:      Palle Girgensohn <girgen@pingpong.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        itetcu@people.tecnik93.com
Subject:   ports/70112: [PATCH] mail/dspam-devel: Makefile fixes
Message-ID:  <20040807115017.C62231CDE7@palle.girgensohn.se>
Resent-Message-ID: <200408071150.i77BoPX3089648@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70112
>Category:       ports
>Synopsis:       [PATCH] mail/dspam-devel: Makefile fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 07 11:50:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Ping Pong AB
>Environment:
System: FreeBSD palle.girgensohn.se 5.2-CURRENT FreeBSD 5.2-CURRENT #11: Wed Jul 28 03:24:58 CEST 2004
>Description:
I configured without CGI, with postgresql and cyrus. Problems arose, mainly typos.

Port maintainer (itetcu@people.tecnik93.com) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- dspam-devel-3.1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dspam-devel/Makefile,v
retrieving revision 1.21
diff -u -u -r1.21 Makefile
--- Makefile	5 Aug 2004 20:39:41 -0000	1.21
+++ Makefile	7 Aug 2004 11:48:02 -0000
@@ -332,7 +332,7 @@
 .if defined(WITH_CYRUS22_LDA)
 RUN_DEPENDS+=	${LOCALBASE}/cyrus/bin/deliver:${PORTSDIR}/mail/cyrus-imapd22
 CONFIGURE_ARGS+=\
---with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver -e -r $${sender} -m $${extension} $${user} $$u"
+--with-delivery-agent='${LOCALBASE}/cyrus/bin/deliver -e -r $${sender} -m $${extension} $${user} $$u'
 .endif
 
 .if defined(WITH_SENDMAIL)
@@ -399,7 +399,8 @@
 #SED_FILES=      ${LS} ${WRKSRC}/cgi/*.pl
 #SED_FILES+=     ${LS} $PWRKSRC}/cgi/*.cgi
 .else
-PLIT_SUB+=	CGI="@comment "
+PLIST_SUB+=	CGI="@comment "
+SED_SCRIPT+=	-e '/%%CGI%%/D'
 .endif
 
 MAN1=	dspam.1 dspam_clean.1 dspam_corpus.1 dspam_dump.1 dspam_merge.1 \
@@ -439,12 +440,12 @@
 	@${ECHO_CMD} "You can only use one local delivery agent at once."
 	@${FALSE}
 .endif
-.if defined(WITH_NEURAL_NET) && !(defined(WITH_MYSQL) || defined(WITH_POSTGRESQL))
+.if defined(WITH_NEURAL_NET) && !(defined(WITH_MYSQL) || defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74))
 	@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
 	@${FALSE}
 .endif
 .if defined(WITH_VIRT_USERS) && !(defined(WITH_MYSQL) || \
-	defined(WITH_POSTGRESQL) || defined(WITH_ORACLE))
+	defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74) || defined(WITH_ORACLE))
 	@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users."
 	@${FALSE}
 .endif
@@ -459,7 +460,7 @@
 .endif
 .if defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74)
 	@${MKDIR} ${EXAMPLESDIR}/pgsql
-	cd @${WRKSRC}/tools.pgsql_drv && \
+	@cd ${WRKSRC}/tools.pgsql_drv && \
 		${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/pgsql
 	${INSTALL_DATA} ${FILESDIR}/pgsql.data ${EXAMPLESDIR}/pgsql
 .endif
--- dspam-devel-3.1.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040807115017.C62231CDE7>