pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32371: support for net/tcpdump linking against libsmi (new package net/libsmi)



>Number:         32371
>Category:       pkg
>Synopsis:       support for net/tcpdump linking against libsmi (new package 
>net/libsmi)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 23 18:30:01 +0000 2005
>Originator:     Mikhail
>Release:        None
>Organization:
stzi
>Environment:
SunOS main 5.8 Generic_117351-24 i86pc i386 i86pc
>Description:
Add new option for net/tcpdump package, to make it able to link against libsmi 
library (net/libsmi - i've recently sent PR for this) via buildlink3 framework.
>How-To-Repeat:

>Fix:
Here is the patch:
--- options.mk.orig   2005-12-23 17:46:20.430405000 +0300
+++ options.mk  2005-12-23 18:06:07.614127000 +0300
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.1 2005/06/12 19:41:45 salo Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.tcpdump
-PKG_SUPPORTED_OPTIONS= inet6 ssl
+PKG_SUPPORTED_OPTIONS= inet6 ssl libsmi
 PKG_SUGGESTED_OPTIONS= ssl
 
 .include "../../mk/bsd.options.mk"
@@ -18,3 +18,7 @@
 .else
 CONFIGURE_ARGS+=       --without-crypto
 .endif
+
+.if !empty(PKG_OPTIONS:Mlibsmi)
+.include "../../net/libsmi/buildlink3.mk"
+.endif




Home | Main Index | Thread Index | Old Index