diff options
author | tv <tv@pkgsrc.org> | 1998-11-24 15:14:02 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-11-24 15:14:02 +0000 |
commit | 050092d9a7af38ad0ac172f7a3ea909dc04532cf (patch) | |
tree | 04146de6ad680efc3757381350722aab2cf20aed /devel/libslang | |
parent | c037d8c967c44d64aa6c708a10c0916ed30d10d3 (diff) | |
download | pkgsrc-050092d9a7af38ad0ac172f7a3ea909dc04532cf.tar.gz |
Make this honor CFLAGS from the pkg's Makefile and/or mk.conf.
Diffstat (limited to 'devel/libslang')
-rw-r--r-- | devel/libslang/patches/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/libslang/patches/patch-aa b/devel/libslang/patches/patch-aa index 2886ad5278c..67157361dab 100644 --- a/devel/libslang/patches/patch-aa +++ b/devel/libslang/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.5 1998/08/07 10:40:25 agc Exp $ +$NetBSD: patch-aa,v 1.6 1998/11/24 15:14:02 tv Exp $ --- src/Makefile.in.orig Fri Apr 24 02:17:04 1998 -+++ src/Makefile.in Thu Jul 16 13:57:13 1998 ++++ src/Makefile.in Tue Nov 24 10:07:20 1998 @@ -2,9 +2,9 @@ #--------------------------------------------------------------------------- # ANSI C compiler @@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.5 1998/08/07 10:40:25 agc Exp $ -CFLAGS = @CFLAGS@ -LDFLAGS = @LDFLAGS@ +CC = $(LIBTOOL) cc -+CFLAGS = -O2 ++CFLAGS = @CFLAGS@ +LDFLAGS = $(EXECLIBS) #--------------------------------------------------------------------------- # ELF specific (Linux) @@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.5 1998/08/07 10:40:25 agc Exp $ CONFIG_H = config.h -ALL_CFLAGS = $(CFLAGS) -Dunix $(THIS_LIB_DEFINES) -+ALL_CFLAGS = -Dunix $(THIS_LIB_DEFINES) ++ALL_CFLAGS = -Dunix $(CFLAGS) $(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) |