diff options
author | tv <tv> | 1998-07-16 17:15:34 +0000 |
---|---|---|
committer | tv <tv> | 1998-07-16 17:15:34 +0000 |
commit | ba5c1633cd011253e4a2f70a92e874320759dd81 (patch) | |
tree | 3a230abea280dcf20098c72bd7c739a901c4897a /devel/libslang | |
parent | 0b7045de7107a3fb5ab49797f949b64d9a39705a (diff) | |
download | pkgsrc-ba5c1633cd011253e4a2f70a92e874320759dd81.tar.gz |
Fix building the library: somehow, COMPILE_CMD was not being used the
first time I built this.
Diffstat (limited to 'devel/libslang')
-rw-r--r-- | devel/libslang/patches/patch-aa | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/devel/libslang/patches/patch-aa b/devel/libslang/patches/patch-aa index 5fe8531a31b..afa7774e910 100644 --- a/devel/libslang/patches/patch-aa +++ b/devel/libslang/patches/patch-aa @@ -1,5 +1,5 @@ ---- src/Makefile.in.orig Wed Jul 15 09:23:28 1998 -+++ src/Makefile.in Wed Jul 15 09:45:35 1998 +--- src/Makefile.in.orig Fri Apr 24 02:17:04 1998 ++++ src/Makefile.in Thu Jul 16 11:32:33 1998 @@ -2,9 +2,9 @@ #--------------------------------------------------------------------------- # ANSI C compiler @@ -7,9 +7,9 @@ -CC = @CC@ -CFLAGS = @CFLAGS@ -LDFLAGS = @LDFLAGS@ -+CC = ${LIBTOOL} cc ++CC = $(LIBTOOL) cc +CFLAGS = -O2 -+LDFLAGS = libslang.la -ltermcap ++LDFLAGS = $(EXECLIBS) #--------------------------------------------------------------------------- # ELF specific (Linux) #--------------------------------------------------------------------------- @@ -27,7 +27,7 @@ CONFIG_H = config.h -ALL_CFLAGS = $(CFLAGS) -Dunix $(THIS_LIB_DEFINES) -+CFLAGS += -Dunix $(THIS_LIB_DEFINES) ++ALL_CFLAGS = -Dunix $(THIS_LIB_DEFINES) ALL_ELF_CFLAGS = $(ELF_CFLAGS) -Dunix $(THIS_LIB_DEFINES) COMPILE_CMD = $(CC) -c $(ALL_CFLAGS) ELFCOMPILE_CMD = $(ELF_CC) -c $(ALL_ELF_CFLAGS) @@ -38,6 +38,15 @@ OBJDIR_NORMAL_LIB = $(OBJDIR)/$(NORMAL_LIB) ELFLIB = lib$(THIS_LIB).so# +@@ -72,7 +72,7 @@ + + ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)# + +-EXECLIBS = -L$(OBJDIR) -lslang -lm $(TCAPLIB) ++EXECLIBS = libslang.la $(TCAPLIB) + EXECDEPS = $(OBJDIR_NORMAL_LIB) + + OFILES = @PROGRAM_OFILES@ @@ -90,8 +90,8 @@ $(OBJDIR_NORMAL_LIB): $(OBJDIR) $(CONFIG_H) $(OBJS) |