Re: 10.0-CUR r226986 ports/net-mgmt/net-snmp]

2011-11-04 Thread Matthias Apitz
- message from Garrett Cooper yaneg...@gmail.com -

  I don't know what the correct fix ist, and for the moment I
  created 'freebsd10.h' as a copy of 'freebsd9.h':
  
  # cat freebsd10.h
  #include freebsd9.h
  #define freebsd8 freebsd8
  
  +Cc: maintainer
 
 You'll need to do more than just that. Take a look at the port history for 
 more details...
 -Garrett

I can imagine, esp. after reading the dialogs of the last PR
ports/158714; that's why I cc'ed the maintainer; my ugly change above at
least made compiling of KDE3 to continue;

the port is broken at the moment for 10-CURRENT;

matthias

-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: 10.0-CUR r226986 ports/net-mgmt/net-snmp

2011-11-03 Thread Matthias Apitz
El día Thursday, November 03, 2011 a las 01:42:50PM -0400, b. f. escribió:

 No, it is not the same.  You can either masquerade, by setting UNAME_r
 and OSVERSION, or by editing the headers and scripts that define them;
 or you can use WITH_FBSD10_FIX for ports that define HAS_CONFIGURE
 (which is implied by USE_AUTOTOOLS and GNU_CONFIGURE).  Right now the
 masquerading is probably safer, because there are some problems with
 the fix that are still being resolved -- and a few ports that may fail
 despite the fix.  But of course if you help to test without
 masquerading, these problems will be resolved sooner.

Well, I will try to help.

I have set WITH_FBSD10_FIX in /etc/make.conf; the port
ports/net-mgmt/net-snmp installs:

/usr/local/include/net-snmp/net-snmp-config.h

with:

...
/* define the system type include file here */
#define NETSNMP_SYSTEM_INCLUDE_FILE net-snmp/system/freebsd10.h
...

but the named header file is not there:

# ls -C1 /usr/local/include/net-snmp/system/free*
/usr/local/include/net-snmp/system/freebsd.h
/usr/local/include/net-snmp/system/freebsd2.h
/usr/local/include/net-snmp/system/freebsd3.h
/usr/local/include/net-snmp/system/freebsd4.h
/usr/local/include/net-snmp/system/freebsd5.h
/usr/local/include/net-snmp/system/freebsd6.h
/usr/local/include/net-snmp/system/freebsd7.h
/usr/local/include/net-snmp/system/freebsd8.h
/usr/local/include/net-snmp/system/freebsd9.h

I don't know what the correct fix ist, and for the moment I
created 'freebsd10.h' as a copy of 'freebsd9.h':

# cat freebsd10.h
#include freebsd9.h
#define freebsd8 freebsd8

+Cc: maintainer

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: 10.0-CUR r226986 ports/net-mgmt/net-snmp

2011-11-03 Thread Garrett Cooper
On Nov 3, 2011, at 8:25 PM, Matthias Apitz wrote:

 El día Thursday, November 03, 2011 a las 01:42:50PM -0400, b. f. escribió:
 
 No, it is not the same.  You can either masquerade, by setting UNAME_r
 and OSVERSION, or by editing the headers and scripts that define them;
 or you can use WITH_FBSD10_FIX for ports that define HAS_CONFIGURE
 (which is implied by USE_AUTOTOOLS and GNU_CONFIGURE).  Right now the
 masquerading is probably safer, because there are some problems with
 the fix that are still being resolved -- and a few ports that may fail
 despite the fix.  But of course if you help to test without
 masquerading, these problems will be resolved sooner.
 
 Well, I will try to help.
 
 I have set WITH_FBSD10_FIX in /etc/make.conf; the port
 ports/net-mgmt/net-snmp installs:
 
 /usr/local/include/net-snmp/net-snmp-config.h
 
 with:
 
 ...
 /* define the system type include file here */
 #define NETSNMP_SYSTEM_INCLUDE_FILE net-snmp/system/freebsd10.h
 ...
 
 but the named header file is not there:
 
 # ls -C1 /usr/local/include/net-snmp/system/free*
 /usr/local/include/net-snmp/system/freebsd.h
 /usr/local/include/net-snmp/system/freebsd2.h
 /usr/local/include/net-snmp/system/freebsd3.h
 /usr/local/include/net-snmp/system/freebsd4.h
 /usr/local/include/net-snmp/system/freebsd5.h
 /usr/local/include/net-snmp/system/freebsd6.h
 /usr/local/include/net-snmp/system/freebsd7.h
 /usr/local/include/net-snmp/system/freebsd8.h
 /usr/local/include/net-snmp/system/freebsd9.h
 
 I don't know what the correct fix ist, and for the moment I
 created 'freebsd10.h' as a copy of 'freebsd9.h':
 
 # cat freebsd10.h
 #include freebsd9.h
 #define freebsd8 freebsd8
 
 +Cc: maintainer

You'll need to do more than just that. Take a look at the port history for more 
details...
-Garrett___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org