pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/deforaos-libsystem deforaos-libsystem: use dlope...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f95183ac0ba
branches:  trunk
changeset: 356212:4f95183ac0ba
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Dec 22 12:51:16 2016 +0000

description:
deforaos-libsystem: use dlopen buildlink instead, as suggested by joerg.
appease pkglint, too.

diffstat:

 devel/deforaos-libsystem/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 91a41e5e3402 -r 4f95183ac0ba devel/deforaos-libsystem/Makefile
--- a/devel/deforaos-libsystem/Makefile Thu Dec 22 12:11:32 2016 +0000
+++ b/devel/deforaos-libsystem/Makefile Thu Dec 22 12:51:16 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2016/12/22 12:11:32 maya Exp $
+# $NetBSD: Makefile,v 1.17 2016/12/22 12:51:16 maya Exp $
 #
 
 DISTNAME=      libSystem-0.3.0
@@ -9,16 +9,13 @@
 MAINTAINER=    khorben%defora.org@localhost
 HOMEPAGE=      http://www.defora.org/
 COMMENT=       DeforaOS core system library
-
 LICENSE=       gnu-lgpl-v3
 
-LDFLAGS.Linux+=        -ldl
-
 MAKE_FLAGS+=   PREFIX=${PREFIX}
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}
 MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
-MAKE_FLAGS+=   INSTALL=${INSTALL}
+MAKE_FLAGS+=   INSTALL=${INSTALL:Q}
 AUTO_MKDIRS=   yes
 
 .include "../../mk/bsd.prefs.mk"
@@ -34,6 +31,8 @@
 
 REPLACE_SH=    tests/tests.sh
 
+DL_AUTO_VARS=  yes
+.include "../../mk/dlopen.buildlink3.mk"
 BUILDLINK_API_DEPENDS.gtk-doc+=        gtk-doc>=1.20
 .include "../../textproc/gtk-doc/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index