ports/107687: [PATCH] irc/eggdrop Added options Fixed Makefile

Beech Rintoul beech at alaskaparadise.com
Mon Jan 8 18:20:15 UTC 2007


>Number:         107687
>Category:       ports
>Synopsis:       [PATCH] irc/eggdrop Added options Fixed Makefile
>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:   Mon Jan 08 18:20:14 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Beech Rintoul
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
Alaska Paradise  
>Environment:


System: FreeBSD 7.0-CURRENT #97: Thu Jan  4 08:11:38 AKST 2007
    root at stargate.alaskaparadise.com:/usr/obj/usr/src/sys/STARGATE



>Description:


Added Options
Fixed Makefile
Request Maintainership


>How-To-Repeat:





>Fix:


diff -ruN --exclude=CVS /usr/ports/irc/eggdrop.orig/Makefile /usr/ports/irc/eggdrop/Makefile
--- /usr/ports/irc/eggdrop.orig/Makefile	Sat Aug  5 05:42:18 2006
+++ /usr/ports/irc/eggdrop/Makefile	Mon Jan  8 08:43:59 2007
@@ -14,7 +14,7 @@
 PATCHFILES=	${PORTNAME}-${PORTVERSION}-ssl.patch.gz
 PATCH_SITES=	http://www.egghelp.org/files/patches/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=		beech at alaskaparadise.com
 COMMENT=	The most popular open source Internet Relay Chat bot
 
 LIB_DEPENDS=	tcl84.1:${PORTSDIR}/lang/tcl84
@@ -25,22 +25,21 @@
 CONFIGURE_ARGS=	--with-tcllib=${LOCALBASE}/lib/libtcl84.so \
 		--with-tclinc=${LOCALBASE}/include/tcl8.4/tcl.h
 
+OPTIONS=	SSL "Use SSL" off
+
 MAN1=		eggdrop.1
 
 SUB_FILES=	pkg-message
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_SSL)
-USE_OPENSSL=	yes
+CFLAGS+=	-DHAVE_OPENSSL
 CONFIGURE_ARGS+=	--with-ssl
-.else
-CONFIGURE_ARGS+=	--without-ssl
 .endif
 
-.include <bsd.port.pre.mk>
-
-pre-everything::
 .if !defined(WITH_SSL)
-	@${ECHO_MSG} 'Define WITH_SSL to enable SSL support'
+CONFIGURE_ARGS+=	--without-ssl
 .endif
 
 post-patch:



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



More information about the freebsd-ports-bugs mailing list