pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/libnbcompat
Module Name: pkgsrc
Committed By: nia
Date: Sun Mar 17 13:40:14 UTC 2024
Modified Files:
pkgsrc/pkgtools/libnbcompat: inplace.mk
Log Message:
libnbcompat: When linking with an "in-place" copy of libnbcompat in each
piece of software that needs to pull functions from it, prevent libtool
from detecting -lnbcompat in the command line arguments then declaring
it as a dependency in the resulting libtool archive.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/pkgtools/libnbcompat/inplace.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/libnbcompat/inplace.mk
diff -u pkgsrc/pkgtools/libnbcompat/inplace.mk:1.15 pkgsrc/pkgtools/libnbcompat/inplace.mk:1.16
--- pkgsrc/pkgtools/libnbcompat/inplace.mk:1.15 Tue Jun 27 09:30:58 2023
+++ pkgsrc/pkgtools/libnbcompat/inplace.mk Sun Mar 17 13:40:14 2024
@@ -1,4 +1,4 @@
-# $NetBSD: inplace.mk,v 1.15 2023/06/27 09:30:58 riastradh Exp $
+# $NetBSD: inplace.mk,v 1.16 2024/03/17 13:40:14 nia Exp $
#
# This file should not be included directly. Use USE_FEATURES instead.
#
@@ -14,8 +14,7 @@ LIBNBCOMPAT_FILESDIR= ${.CURDIR}/../../p
LIBNBCOMPAT_SRCDIR= ${WRKDIR}/libnbcompat
CPPFLAGS.nbcompat= -DHAVE_NBCOMPAT_H=1 -I${LIBNBCOMPAT_SRCDIR}
-LDFLAGS.nbcompat= -L${LIBNBCOMPAT_SRCDIR}
-LDADD.nbcompat= -lnbcompat
+LDADD.nbcompat= ${LIBNBCOMPAT_SRCDIR}/libnbcompat.a
.if !empty(LIBNBCOMPAT_USE_PIC:M[Yy][Ee][Ss])
LIBNBCOMPAT_PICDIR= ${WRKDIR}/libnbcompat_pic
Home |
Main Index |
Thread Index |
Old Index