ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
michael johnson
ahze at ahze.net
Tue Jul 13 19:30:23 UTC 2004
The following reply was made to PR ports/68935; it has been noted by GNATS.
From: michael johnson <ahze at ahze.net>
To: freebsd-gnats-submit at freebsd.org
Cc: Volker Stolz <vs at freebsd.org>
Subject: Re: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
Date: Tue, 13 Jul 2004 15:30:04 -0400
--Apple-Mail-2--229345453
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Here ya go, sorry about that.
Michael
--Apple-Mail-2--229345453
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="sap.patch"
Content-Disposition: attachment;
filename=sap.patch
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/minisapserver/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 7 Jun 2004 09:03:58 -0000 1.2
+++ Makefile 13 Jul 2004 19:26:59 -0000
@@ -7,6 +7,7 @@
PORTNAME= minisapserver
PORTVERSION= 0.2.3
+PORTREVISION= 1
CATEGORIES= net multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/
DISTNAME= miniSAPserver-${PORTVERSION}
@@ -23,6 +24,15 @@
PLIST_FILES= bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh
USE_RC_SUBR= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
+OPTIONS= SLP "Enable SLP support via openslp" off
+
+.if defined(WITH_SLP)
+LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp
+
+CONFIGURE_ARGS= --enable-slp
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \
--Apple-Mail-2--229345453
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
On Jul 13, 2004, at 2:16 PM, Volker Stolz wrote:
> Michael, I think your second patch has been wrapped into oblivion.
> Please send it directly to me as an attachment.
>
> Volker
>
--Apple-Mail-2--229345453--
More information about the freebsd-ports-bugs
mailing list