diff options
author | jlam <jlam> | 2002-02-08 06:29:42 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-02-08 06:29:42 +0000 |
commit | ed7435729f54e1a0866645079ca977fca4ffdb04 (patch) | |
tree | 72b3075153f82a319f9fe623efdfdea8dfeb5e1b /devel/pwlib/patches/patch-ac | |
parent | 069cbccd26f117907f4d99075800ec4c71a6e3a7 (diff) | |
download | pkgsrc-ed7435729f54e1a0866645079ca977fca4ffdb04.tar.gz |
* Strongly buildlink'ify.
* Patch the grammer file getdate.y to be usable by (recent?) bison.
* Use pthreads.buildlink.mk (native pthreads probably won't work, but
we'll let it break until the time comes when we actually do have native
threads).
Diffstat (limited to 'devel/pwlib/patches/patch-ac')
-rw-r--r-- | devel/pwlib/patches/patch-ac | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/devel/pwlib/patches/patch-ac b/devel/pwlib/patches/patch-ac index 33563ea2f17..b743f1efb3a 100644 --- a/devel/pwlib/patches/patch-ac +++ b/devel/pwlib/patches/patch-ac @@ -1,13 +1,36 @@ -$NetBSD: patch-ac,v 1.2 2001/03/05 12:40:26 skrll Exp $ +$NetBSD: patch-ac,v 1.3 2002/02/08 06:29:44 jlam Exp $ ---- make/common.mak.orig Wed Apr 26 01:40:48 2000 +--- make/common.mak.orig Tue Apr 25 20:40:48 2000 +++ make/common.mak +@@ -148,11 +148,11 @@ + # + $(OBJDIR)/%.o : %.cxx + @if [ ! -d $(OBJDIR) ] ; then mkdir -p $(OBJDIR) ; fi +- $(CPLUS) $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@ ++ $(LIBTOOL) --tag=CXX $(CPLUS) $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@ + + $(OBJDIR)/%.o : %.c + @if [ ! -d $(OBJDIR) ] ; then mkdir -p $(OBJDIR) ; fi +- $(CC) $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@ ++ $(LIBTOOL) --tag=CC $(CC) $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@ + + # + # create list of object files @@ -213,7 +213,7 @@ endif $(TARGET): $(OBJS) $(TARGET_LIBS) - $(CPLUS) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS) -+ ${LIBTOOL} --mode=link --tag=CXX $(CPLUS) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS) ++ $(LIBTOOL) --tag=CXX $(CPLUS) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS) ifdef DEBUG +@@ -238,7 +238,7 @@ + ifndef INSTALL_OVERRIDE + + install: $(TARGET) +- $(INSTALL) $(TARGET) $(INSTALLBIN_DIR) ++ $(LIBTOOL) $(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALLBIN_DIR) + endif + + # ifdef PROG |