Date: Mon, 12 Jul 2004 00:20:33 GMT From: michael johnson <ahze@ahze.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp] Message-ID: <200407120020.i6C0KXP9018123@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/68935; it has been noted by GNATS. From: michael johnson <ahze@ahze.net> To: michael johnson <ahze@ahze.net>, freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp] Date: Sun, 11 Jul 2004 20:14:16 -0400 I meant to change openslp back to slp.. here is a better patch =================================================================== 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 12 Jul 2004 00:13:03 -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,17 @@ 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 + +.include <bsd.port.pre.mk> + +.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|; \ @@ -47,4 +59,4 @@ @${INSTALL_SCRIPT} ${WRKDIR}/sapserver.sh ${PREFIX}/etc/rc.d/ @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407120020.i6C0KXP9018123>