upgrade with only minor patch changes so I'm just going to commit it,
especially since the original was marked broken (can't fetch anymore).
PR: 8652
Submitted by: Glenn Johnson <gljohns@bellsouth.net>
mico and gcc 2.7.2.1 ... not usable with koffice at this time, as it requires
you to disabl-mini-stl, but that will require either gcc 2.8.1 or egcs to
make that happen, and still working out bugs with the more stable version of
egcs then is in ports...
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.
(This is not by any means the complete list but just the ones I've noticed
recently.)
a few variables that could be used in the port Makefile for ".if exists()"
tests. bsd.port.post.mk defines the rest.
Note: if you define USE_X_PREFIX or USE_IMAKE, put it before including
bsd.port.pre.mk. These are the only two variables used in the first part.
In reality, bsd.port.pre.mk and bsd.port.post.mk just include bsd.port.mk
with special variables to turn part of it off.
Not broken for ELF, since xforms lib isn't broken anymore
Although xforms should be ok for ELF I got the following error message
at startup of lyx:
/usr/libexec/ld-elf.so.1: Shared object "libforms.so.0.88" not found
Had to apply a symlink manually:
root{207} /usr/X11R6/lib ln -s libxforms.so.0 libforms.so.0.88
root{208} /usr/X11R6/lib ldconfig -m /usr/X11R6/lib
===
cc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" -I../intl -I../intl -I/usr/X11R6/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/include/gtk11 -I/usr/local/include/glib -O -pipe -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -O -pipe -I/usr/X11R6/include -Wall -c property-background.c
property-background.c: In function `background_read':
property-background.c:874: warning: unused variable `bgColor'
property-background.c: At top level:
property-background.c:925: parse error before `GdkEventDropDataAvailable'
property-background.c: In function `image_dnd_drop':
property-background.c:928: `event' undeclared (first use this function)
property-background.c:928: (Each undeclared identifier is reported only once
property-background.c:928: for each function it appears in.)
property-background.c: In function `connect_dnd':
property-background.c:945: warning: implicit declaration of function `gtk_widget_dnd_drop_set'
property-background.c: At top level:
property-background.c:24: warning: `preview' defined but not used
*** Error code 1
Stop.
(I still intend to fix the bug in the script that misses an ELF system for
an a.out one)
Current fix submitted by: "Alec Wolman" <wolman@cs.washington.edu>
===
cc -c -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -O -pipe -DVERSION=\"0.4\" -DXS_VERSION=\"0.4\" -DPIC -fpic -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE GtkDefs.c
GtkDefs.c: In function `Gtk_InstallTypedefs':
GtkDefs.c:2559: `GDK_OTHER_EVENT' undeclared (first use this function)
GtkDefs.c:2559: (Each undeclared identifier is reported only once
GtkDefs.c:2559: for each function it appears in.)
GtkDefs.c:2712: `PIXELS_METRIC' undeclared (first use this function)
GtkDefs.c:2713: `POINTS_METRIC' undeclared (first use this function)
*** Error code 1
Stop.
===
cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE
-O -pipe -Wall -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/inclu
de/glib -c gui_channels.c
In file included from gui_channels.c:39:
intl.h:11: warning: `_' redefined
os.h:15: warning: this is the location of the previous definition
gui_channels.c: In function `sigchan_drag':
gui_channels.c:179: warning: implicit declaration of function `gtk_widget_dnd_data_set'
gui_channels.c: In function `sigchan_drop':
gui_channels.c:189: union has no member named `dropdataavailable'
gui_channels.c:185: warning: `from' might be used uninitialized in this function
gui_channels.c: In function `gui_private_add_channel_button':
gui_channels.c:219: warning: implicit declaration of function `gtk_widget_dnd_drag_set'
gui_channels.c:220: warning: implicit declaration of function `gtk_widget_dnd_drop_set'
gmake[1]: *** [gui_channels.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/yagirc/work/yagirc-0.65.7/src'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop.