ports/67457: [PATCH] mail/mahogany: fix compiling with freebsd 5.x

Andrey Slusar vasallia at ukr.net
Tue Jun 1 17:40:22 UTC 2004


>Number:         67457
>Category:       ports
>Synopsis:       [PATCH] mail/mahogany: fix compiling with freebsd 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 01 10:40:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 1 12:02:59 EEST 2004 root at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	maintainer - ports@
	Fix compiling with freebsd 5.x i386 and remove BROKEN
>How-To-Repeat:
	N/A
>Fix:

--- mahogany.diff begins here ---
diff -ruN mahogany/Makefile mahogany.new/Makefile
--- mahogany/Makefile	Mon Apr  5 06:30:09 2004
+++ mahogany.new/Makefile	Tue Jun  1 18:54:57 2004
@@ -32,10 +32,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} != "i386" || ${OSVERSION} > 502105
-BROKEN=			"Does not compile on !i386 or FreeBSD >= 5.x"
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|-DOPENSSL_NO_KRB5||' -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|$$(DATADIR)/locale|$$(DESTDIR)/share/locale|' ${WRKSRC}/locale/Makefile
diff -ruN mahogany/files/patch-c-client-Makefile mahogany.new/files/patch-c-client-Makefile
--- mahogany/files/patch-c-client-Makefile	Thu Jan  1 03:00:00 1970
+++ mahogany.new/files/patch-c-client-Makefile	Tue Jun  1 20:03:54 2004
@@ -0,0 +1,11 @@
+--- extra/src/c-client/Makefile.old	Tue Jun  1 19:59:40 2004
++++ extra/src/c-client/Makefile	Tue Jun  1 20:00:37 2004
+@@ -866,7 +866,7 @@
+ 	echo $(CC) > CCTYPE
+ 	echo $(CFLAGS) > CFLAGS
+ 	echo -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \
+-	 -DMAILSPOOL=\"$(MAILSPOOL)\" \
++	 -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"$(MAILSPOOL)\" \
+ 	 -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
+ 	 -DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
+ 	 -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS
--- mahogany.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list