Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 14:40:17 GMT
From:      Gerrit Beine <gerrit.beine@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/91792: Fix port: irc/unreal
Message-ID:  <200601141440.k0EEeGTV037931@www.freebsd.org>
Resent-Message-ID: <200601141450.k0EEo3iD011331@freefall.freebsd.org>

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

>Number:         91792
>Category:       ports
>Synopsis:       Fix port: irc/unreal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 14 14:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gerrit Beine
>Release:        FreeBSD 6.0-RELEASE
>Organization:
Beine Computer
>Environment:
FreeBSD fbsd60.vmware 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
* fix handling of the optional SQLMod
* change mail address
* fix handling of options file
* no functional change
>How-To-Repeat:
              
>Fix:
diff -Nur /usr/ports/irc/unreal/Makefile unreal/Makefile
--- /usr/ports/irc/unreal/Makefile	Mon Apr 11 20:56:40 2005
+++ unreal/Makefile	Sat Jan 14 15:36:45 2006
@@ -24,7 +24,7 @@
 #		ftp://unrealircd.za.net/pub/UnrealIRCd/ \    # connect refused
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
-MAINTAINER=	tux@pinguru.net
+MAINTAINER=	gerrit.beine@gmx.de
 COMMENT=	Unreal - the next generation ircd
 
 WRKSRC=		${WRKDIR}/${PORTNAME}3.2
@@ -58,13 +58,7 @@
 		PREFIXAQ "Enable prefixes for chanadmin and chanowner" off
 #		REMOTE "Enable remote includes" off \ # this does not work at the moment
 
-PORT_DBDIR?=	/var/db/ports
-LATEST_LINK=	${PORTNAME}
-OPTIONSFILE?=	${PORT_DBDIR}/${LATEST_LINK}/options
-
-.if exists(${OPTIONSFILE})
-.include "${OPTIONSFILE}"
-.endif
+.include <bsd.port.pre.mk>
 
 .if !defined(NOPORTDOCS)
 DOCS=		Donation doc/Authors doc/coding-guidelines \
@@ -111,7 +105,7 @@
 USE_MYSQL=	yes
 WITH_SQLMOD=	yes
 MAKE_ARGS=	all custommodule MODULEFILE=m_sqlmod
-PLIST_FILES+=	etc/Unreal/m_sqlmod.conf lib/Unreal/m_sqlmod.so
+PLIST_FILES+=	etc/Unreal/m_sqlmod.conf lib/Unreal/m_sqlmod.so \
 		Unreal/doc/Changes.sqlmod Unreal/doc/README.sqlmod \
 		Unreal/doc/LICENSE.sqlmod
 .endif
@@ -135,7 +129,7 @@
 	@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/s_conf.c
 	@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/url.c
 .if defined(WITH_SQLMOD)
-	@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch
+	@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch.old
 .endif
 
 do-install:
@@ -173,4 +167,4 @@
 	@${CP} ${WRKSRC}/SQLMod/LICENSE ${DOCSDIR}/LICENSE.sqlmod
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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