2012-07-30 04:53:57 +02:00
|
|
|
$NetBSD: patch-ac,v 1.6 2012/07/30 02:53:57 dholland Exp $
|
|
|
|
|
|
|
|
- Add image libraries to link. (is this needed?)
|
|
|
|
- Honor LDFLAGS so rpaths work.
|
|
|
|
- Configure paths for pkgsrc.
|
|
|
|
- Use optimization level that actually exists (gcc) or works (clang).
|
2002-04-17 06:40:36 +02:00
|
|
|
|
2011-09-08 02:24:42 +02:00
|
|
|
--- fd2ps/Imakefile.orig 2002-10-01 16:40:02.000000000 +0000
|
|
|
|
+++ fd2ps/Imakefile
|
|
|
|
@@ -32,7 +32,7 @@ OBJS = $(SRCS:.c=.o)
|
Update to latest version 1.0 using patches provided by Jeremey C. Reed
(reed at reedmedia dot net) in
<Pine.LNX.4.43.0212260432280.22292-100000@pilchuck.reedmedia.net> to tech-pkg.
xforms is now LGPL.
Changes:
V1.0RC6.1 November 19, 2002
o. Fixed early tooltip hide causing recursive fl_free_forms() entry.
o. Fixed typo in `lib/Imakefile'.
V1.0RC6 November 16, 2002
o. TabFolder coordinate update corrected. (Angus Leeming)
o. Tooltips could be orphaned when form hidden. (Angus Leeming)
V1.0RC5.2 October 2, 2002
o. Documented `InstallNonstandard' procedure.
V1.0RC5.1 October 1, 2002
o. Mac OS X build support.
V1.0RC3 June 5, 2002
o. Fixed condition in forms.c preventing use of cursor keys.
o. Fumigated with -Wall, eliminating all complaints in xforms
sources.
V1.0RC2 June 1, 2002
o. Picked up some missing prototypes in `flimage.h'.
o. Deleted fl_snprintf() with snprintf() and changed all references
thereto. Added a new library for those lacking the latter
function, filched from the SpamAssassin distributon, of all things.
Had to hack it a bit to get it to work. Others, on other systems,
may have to as well.
V1.0RC1 May 30, 2002
o. Very minor API changes. `FL_ERROR_FUNC' has been typedef'd for
fl_set_error_handler() function. `FL_VAL_FILTER' has also been
typedef'd for use by fl_set_{counter,slider}_filter(). Neither
of these changes should affect much of anything.
o. The flimage functions are in their own library now: libflimage.
They should be usable standalone, but I have not had an
opportunity to test them.
o. The OpenGL functions are in their own library now: libformsGL
fl_add_glcanvas() and its ilk live there. Application build scripts/
Makefiles should include -lformsGL.
o. The Xpm library is no longer built or distributed with XForms.
o. The majority of the function prototypes in `forms.h' have been
expanded to include variable names.
o. various bug fixes.
2002-12-28 20:49:06 +01:00
|
|
|
#if !defined( PpcDarwinArchitecture )
|
2002-04-17 06:40:36 +02:00
|
|
|
FORMSLIBDIR = $(TOP)/lib
|
|
|
|
FORMSINCDIR = $(FORMSLIBDIR)
|
|
|
|
-FORMSLIB = -L$(FORMSLIBDIR) -lforms
|
2002-04-17 20:18:53 +02:00
|
|
|
+FORMSLIB = -L$(FORMSLIBDIR) -lforms $(JPEGLIB) $(XPMLIB) $(LDFLAGS)
|
2002-04-17 06:40:36 +02:00
|
|
|
DEPFORMSLIB = $(FORMSLIBDIR)/libforms.a
|
2002-04-17 20:18:53 +02:00
|
|
|
#endif
|
|
|
|
|
2011-09-08 02:24:42 +02:00
|
|
|
@@ -64,7 +64,7 @@ EXTRA_INCLUDES = \
|
Update to latest version 1.0 using patches provided by Jeremey C. Reed
(reed at reedmedia dot net) in
<Pine.LNX.4.43.0212260432280.22292-100000@pilchuck.reedmedia.net> to tech-pkg.
xforms is now LGPL.
Changes:
V1.0RC6.1 November 19, 2002
o. Fixed early tooltip hide causing recursive fl_free_forms() entry.
o. Fixed typo in `lib/Imakefile'.
V1.0RC6 November 16, 2002
o. TabFolder coordinate update corrected. (Angus Leeming)
o. Tooltips could be orphaned when form hidden. (Angus Leeming)
V1.0RC5.2 October 2, 2002
o. Documented `InstallNonstandard' procedure.
V1.0RC5.1 October 1, 2002
o. Mac OS X build support.
V1.0RC3 June 5, 2002
o. Fixed condition in forms.c preventing use of cursor keys.
o. Fumigated with -Wall, eliminating all complaints in xforms
sources.
V1.0RC2 June 1, 2002
o. Picked up some missing prototypes in `flimage.h'.
o. Deleted fl_snprintf() with snprintf() and changed all references
thereto. Added a new library for those lacking the latter
function, filched from the SpamAssassin distributon, of all things.
Had to hack it a bit to get it to work. Others, on other systems,
may have to as well.
V1.0RC1 May 30, 2002
o. Very minor API changes. `FL_ERROR_FUNC' has been typedef'd for
fl_set_error_handler() function. `FL_VAL_FILTER' has also been
typedef'd for use by fl_set_{counter,slider}_filter(). Neither
of these changes should affect much of anything.
o. The flimage functions are in their own library now: libflimage.
They should be usable standalone, but I have not had an
opportunity to test them.
o. The OpenGL functions are in their own library now: libformsGL
fl_add_glcanvas() and its ilk live there. Application build scripts/
Makefiles should include -lformsGL.
o. The Xpm library is no longer built or distributed with XForms.
o. The majority of the function prototypes in `forms.h' have been
expanded to include variable names.
o. various bug fixes.
2002-12-28 20:49:06 +01:00
|
|
|
-I.
|
|
|
|
|
|
|
|
DEPEND_DEFINES = \
|
|
|
|
- -I/usr/local/include
|
|
|
|
+ -I${LOCALBASE}/include
|
2002-04-17 06:40:36 +02:00
|
|
|
|
|
|
|
EXTRA_LIBRARIES = \
|
Update to latest version 1.0 using patches provided by Jeremey C. Reed
(reed at reedmedia dot net) in
<Pine.LNX.4.43.0212260432280.22292-100000@pilchuck.reedmedia.net> to tech-pkg.
xforms is now LGPL.
Changes:
V1.0RC6.1 November 19, 2002
o. Fixed early tooltip hide causing recursive fl_free_forms() entry.
o. Fixed typo in `lib/Imakefile'.
V1.0RC6 November 16, 2002
o. TabFolder coordinate update corrected. (Angus Leeming)
o. Tooltips could be orphaned when form hidden. (Angus Leeming)
V1.0RC5.2 October 2, 2002
o. Documented `InstallNonstandard' procedure.
V1.0RC5.1 October 1, 2002
o. Mac OS X build support.
V1.0RC3 June 5, 2002
o. Fixed condition in forms.c preventing use of cursor keys.
o. Fumigated with -Wall, eliminating all complaints in xforms
sources.
V1.0RC2 June 1, 2002
o. Picked up some missing prototypes in `flimage.h'.
o. Deleted fl_snprintf() with snprintf() and changed all references
thereto. Added a new library for those lacking the latter
function, filched from the SpamAssassin distributon, of all things.
Had to hack it a bit to get it to work. Others, on other systems,
may have to as well.
V1.0RC1 May 30, 2002
o. Very minor API changes. `FL_ERROR_FUNC' has been typedef'd for
fl_set_error_handler() function. `FL_VAL_FILTER' has also been
typedef'd for use by fl_set_{counter,slider}_filter(). Neither
of these changes should affect much of anything.
o. The flimage functions are in their own library now: libflimage.
They should be usable standalone, but I have not had an
opportunity to test them.
o. The OpenGL functions are in their own library now: libformsGL
fl_add_glcanvas() and its ilk live there. Application build scripts/
Makefiles should include -lformsGL.
o. The Xpm library is no longer built or distributed with XForms.
o. The majority of the function prototypes in `forms.h' have been
expanded to include variable names.
o. various bug fixes.
2002-12-28 20:49:06 +01:00
|
|
|
$(STATIC) \
|
2011-09-08 02:24:42 +02:00
|
|
|
@@ -83,7 +83,7 @@ PSRCS = $(SPLSRCS) \
|
|
|
|
CDEBUGFLAGS = -g $(OPTIMIZER)
|
|
|
|
#if Optimize
|
|
|
|
IMAKE_OPTIMIZE = -DDoOptimize=1
|
|
|
|
-OPTIMIZER = -O4
|
|
|
|
+OPTIMIZER = -O2
|
|
|
|
#else
|
|
|
|
OPTIMIZER =
|
|
|
|
#endif
|