ports/91792: Fix port: irc/unreal
Gerrit Beine
gerrit.beine at gmx.de
Sat Jan 14 14:50:04 UTC 2006
>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 at 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 at pinguru.net
+MAINTAINER= gerrit.beine at 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:
More information about the freebsd-ports-bugs
mailing list