diff options
author | pav <pav@FreeBSD.org> | 2007-01-31 22:09:55 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-01-31 22:09:55 +0800 |
commit | ccd12ccd577604add511aad4ea4e71c32b3e2f06 (patch) | |
tree | 25b833c135dd7f2323045f819dc7121e621103fc /net-mgmt/cdpd | |
parent | e2f15954f8960a944e8d5b2c28982257d8c6e91f (diff) | |
download | freebsd-ports-gnome-ccd12ccd577604add511aad4ea4e71c32b3e2f06.tar.gz freebsd-ports-gnome-ccd12ccd577604add511aad4ea4e71c32b3e2f06.tar.zst freebsd-ports-gnome-ccd12ccd577604add511aad4ea4e71c32b3e2f06.zip |
- Patch net/libnet* to versioned libraries and header files, so they can
coexist
PR: ports/103861
Submitted by: alepulver
Tested by: pointyhat
With hat: portmgr
Diffstat (limited to 'net-mgmt/cdpd')
-rw-r--r-- | net-mgmt/cdpd/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net-mgmt/cdpd/Makefile b/net-mgmt/cdpd/Makefile index 318f6f46b757..428221735b3c 100644 --- a/net-mgmt/cdpd/Makefile +++ b/net-mgmt/cdpd/Makefile @@ -6,17 +6,24 @@ PORTNAME= cdpd PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/ MAINTAINER= ports@FreeBSD.org COMMENT= CDPdaemon - sends Cisco Discovery Protocol announces over ethernet -BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10 +BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 GNU_CONFIGURE= yes +CFLAGS+= `${LIBNET_CONFIG} --cflags` MAN8= cdpd.8 +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config + +post-patch: + @${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG:T}|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + .include <bsd.port.mk> |