pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/libduktape libduktape: fix RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e9cd5707b19
branches:  trunk
changeset: 455157:1e9cd5707b19
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 28 20:38:12 2021 +0000

description:
libduktape: fix RELRO build.

Clean up some pkglint.

Bump PKGREVISION.

diffstat:

 lang/libduktape/Makefile       |  6 +++---
 lang/libduktape/files/Makefile |  2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 82f03b2fa3f7 -r 1e9cd5707b19 lang/libduktape/Makefile
--- a/lang/libduktape/Makefile  Mon Jun 28 20:32:16 2021 +0000
+++ b/lang/libduktape/Makefile  Mon Jun 28 20:38:12 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2021/06/28 12:10:38 nia Exp $
+# $NetBSD: Makefile,v 1.8 2021/06/28 20:38:12 wiz Exp $
 
 DISTNAME=      duktape-2.6.0
 PKGNAME=       lib${DISTNAME}
-PKGREVISION=   1
-CATEGORIES=    devel
+PKGREVISION=   2
+CATEGORIES=    lang
 MASTER_SITES=  https://duktape.org/
 EXTRACT_SUFX=  .tar.xz
 
diff -r 82f03b2fa3f7 -r 1e9cd5707b19 lang/libduktape/files/Makefile
--- a/lang/libduktape/files/Makefile    Mon Jun 28 20:32:16 2021 +0000
+++ b/lang/libduktape/files/Makefile    Mon Jun 28 20:38:12 2021 +0000
@@ -18,7 +18,7 @@
 all:   ${LIBS}
 
 $(LIBS) : $(OBJS)
-       ${LIBTOOL} --mode=link --tag=CC cc -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 0:0
+       ${LIBTOOL} --mode=link --tag=CC cc ${LDFLAGS} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 0:0
 
 ${OBJS}: duktape.c duktape.h duk_config.h
        ${LIBTOOL} --mode=compile --tag=CC ${CC} ${CFLAGS} -c duktape.c



Home | Main Index | Thread Index | Old Index