pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49992: devel/libexecinfo fails to build
>Number: 49992
>Category: pkg
>Synopsis: devel/libexecinfo fails to build
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 22 05:45:00 +0000 2015
>Originator: Brad Forschinger
>Release: 2015Q1
>Organization:
>Environment:
SunOS x 5.10 Generic_147147-26 sun4v sparc sun4v
>Description:
Will fail using PKGSRC_COMPILER=sunpro due to the package's use of __builtin_frame_address
After switching to PKGSRC_COMPILER=gcc build fails due to unknown tag
>How-To-Repeat:
cd devel/libexecinfo && bmake
>Fix:
help libtool with a --tag
diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile
index 966ebe0..43eeeb8 100644
--- a/devel/libexecinfo/Makefile
+++ b/devel/libexecinfo/Makefile
@@ -21,9 +21,9 @@ USE_LIBTOOL= yes
INSTALLATION_DIRS= include lib
do-build:
- cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c execinfo.c
- cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c stacktraverse.c
- cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} ${LIBS} \
+ cd ${WRKSRC} && ${LIBTOOL} --mode=compile --tag=CC ${CC} ${CFLAGS} -c execinfo.c
+ cd ${WRKSRC} && ${LIBTOOL} --mode=compile --tag=CC ${CC} ${CFLAGS} -c stacktraverse.c
+ cd ${WRKSRC} && ${LIBTOOL} --mode=link --tag=CC ${CC} ${LDFLAGS} ${LIBS} \
-o libexecinfo.la execinfo.lo stacktraverse.lo \
-version-info 1:0:0 -rpath ${PREFIX}/lib
Home |
Main Index |
Thread Index |
Old Index