summaryrefslogtreecommitdiff
path: root/x11/fltk/patches/patch-af
blob: d89e6da50e8286333e02529132f268f6a629745e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$NetBSD: patch-af,v 1.5 2004/02/18 05:07:34 ben Exp $

--- makeinclude.in.orig	2003-01-30 13:38:24.000000000 -0800
+++ makeinclude.in
@@ -47,8 +47,8 @@ SHELL		= /bin/sh
 STRIP		= strip
 
 # compiler names:
-CXX		= @CXX@
-CC		= @CC@
+CXX		= $(LIBTOOL) @CXX@
+CC		= $(LIBTOOL) @CC@
 MAKEDEPEND	= @MAKEDEPEND@
 
 # flags for C++ compiler:
@@ -58,6 +58,7 @@ CXXFLAGS	= $(OPTIM) @CXXFLAGS@
 
 # program to make the archive:
 LIBNAME		= @LIBNAME@
+LIBTOOL		= @LIBTOOL@
 FLLIBNAME	= @FLLIBNAME@
 GLLIBNAME	= @GLLIBNAME@
 IMGLIBNAME	= @IMGLIBNAME@
@@ -70,7 +71,8 @@ IMGDSONAME	= @IMGDSONAME@
 DSOCOMMAND	= @DSOCOMMAND@
 
 # libraries to link with:
-LDLIBS		= @LDFLAGS@ @LIBS@
+#LDLIBS		= @LDFLAGS@ @LIBS@
+LDLIBS		= $(GLDLIBS)
 GLDLIBS		= @LDFLAGS@ @GLLIB@ @LIBS@
 LINKFLTK	= -L../lib @LINKFLTK@
 LINKFLTKGL	= -L../lib @LINKFLTKGL@
@@ -79,6 +81,12 @@ LINKFLTKIMG	= -L../lib -lfltk_images @LI
 LINKSHARED	= @DSOLINK@ @LINKSHARED@ $(IMAGELIBS)
 IMAGELIBS	= @IMAGELIBS@
 
+# installation programs:
+INSTALL_BIN	=$(LIBTOOL) cp
+INSTALL_DATA	=cp
+INSTALL_LIB	=$(LIBTOOL) cp
+INSTALL_MAN	=cp
+
 # The extension to use for executables...
 EXEEXT		= @EXEEXT@