pkgsrc-Bugs archive

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

Re: pkg/40415



The following reply was made to PR pkg/40415; it has been noted by GNATS.

From: "Heath N. Caldwell" <hncaldwell%csupomona.edu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/40415
Date: Tue, 5 May 2009 12:48:46 -0700

 I ran into this same problem.
 
 uname -a: SunOS niblet 5.10 Generic_137138-09 i86pc i386 i86pc
 
 I fixed it with this patch:
 
 --- configure.in.orig   Mon Oct 27 18:26:13 2008
 +++ configure.in        Tue May  5 11:15:36 2009
 @@ -358,7 +358,6 @@
  #include <net/if.h>
  #include <linux/types.h>
        ])
 -      AC_CHECK_HEADERS()
        AC_LBL_TPACKET_STATS
        AC_LBL_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI
        ;;
 
 And these changes to the Makefile:
 
 --- Makefile.orig       Tue May  5 12:46:46 2009
 +++ Makefile    Tue May  5 12:41:28 2009
 @@ -10,6 +10,8 @@
  HOMEPAGE=     http://www.tcpdump.org/
  COMMENT=      System-independent interface for user-level packet capture
  
 +BUILD_DEPENDS+=       autoconf>=0:../../devel/autoconf
 +
  NOT_FOR_PLATFORM+=    Interix-*-* # no raw interface access
  
  PKG_DESTDIR_SUPPORT=  user-destdir
 @@ -33,6 +35,9 @@
  PLIST.std=    yes
  .endif
  
 +pre-configure:
 +      cd ${WRKSRC:Q} && /usr/pkg/bin/autoconf
 +
  post-install:
        ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
  
 
 -- 
 Heath Caldwell - hncaldwell%csupomona.edu@localhost
 Operating Systems Analyst - California State Polytechnic University, Pomona
 


Home | Main Index | Thread Index | Old Index