pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47751: apr-util-1.4.1nb5 build fails because of libtool error



>Number:         47751
>Category:       pkg
>Synopsis:       apr-util-1.4.1nb5 build fails because of libtool error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 20 10:25:00 +0000 2013
>Originator:     Frédéric Fauberteau
>Release:        netbsd-6
>Organization:
>Environment:
NetBSD trashware 6.0_STABLE NetBSD 6.0_STABLE (TRASHWARE) #0: Fri Feb  8 
09:00:00 CET 2013  root@trashware:/usr/obj/sys/arch/amd64/compile/TRASHWARE 
amd64
>Description:
The problem is already described here:
http://mail-index.netbsd.org/pkgsrc-bugs/2013/02/18/msg050658.html


>How-To-Repeat:
cd /usr/pkgsrc/devel/apr-util && make install
>Fix:
$NetBSD$

--- build/rules.mk.orig 2013-04-20 09:54:36.000000000 +0000
+++ build/rules.mk
@@ -89,9 +89,9 @@ OBJECTS      = $(OBJECTS_unix)
 # Basic macro setup
 #
 COMPILE      = $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES)
-LT_COMPILE   = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && 
touch $@
+LT_COMPILE   = $(LIBTOOL) $(LTFLAGS) --tag=CC --mode=compile $(COMPILE) -o $@ 
-c $< && touch $@

-LINK         = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) 
$(LT_VERSION) $(ALL_LDFLAGS) -o $@
+LINK         = $(LIBTOOL) $(LTFLAGS) --tag=CC --mode=link $(LT_LDFLAGS) 
$(COMPILE) $(LT_VERSION) $(ALL_LDFLAGS) -o $@

 APR_MKDIR        = $(apr_builders)/mkdir.sh
 APR_MKEXPORT     = $(AWK) -f $(apr_builders)/make_exports.awk



Home | Main Index | Thread Index | Old Index