pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/bicom Add ${LDFLAGS} to link command, and sp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d392ee1d19c1
branches:  trunk
changeset: 463121:d392ee1d19c1
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Wed Oct 29 14:09:37 2003 +0000

description:
Add ${LDFLAGS} to link command, and specify USE_GCC_SHLIB.

Fixes linking against pkgsrc gcc.

diffstat:

 archivers/bicom/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 560b85a8b37b -r d392ee1d19c1 archivers/bicom/Makefile
--- a/archivers/bicom/Makefile  Wed Oct 29 11:57:59 2003 +0000
+++ b/archivers/bicom/Makefile  Wed Oct 29 14:09:37 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 16:24:36 martti Exp $
+# $NetBSD: Makefile,v 1.10 2003/10/29 14:09:37 gavan Exp $
 #
 
 DISTNAME=              bicom101
@@ -14,6 +14,7 @@
 
 LICENSE=               no-commercial-use
 USE_BUILDLINK2=                # defined
+USE_GCC_SHLIB=         yes
 
 do-build:
        for i in bialib bicom; do                                       \
@@ -24,7 +25,8 @@
                done;                                                   \
        done
        cd ${WRKSRC}/bicom &&                                           \
-               ${BUILDLINK_CXX} ${CXXFLAGS} -o bicom *.o ../bialib/*.o
+               ${BUILDLINK_CXX} ${CXXFLAGS} ${LDFLAGS}                 \
+                       -o bicom *.o ../bialib/*.o
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/bicom/bicom ${PREFIX}/bin



Home | Main Index | Thread Index | Old Index