pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libtirpc



Module Name:    pkgsrc
Committed By:   vins
Date:           Wed Sep  6 10:42:51 UTC 2023

Modified Files:
        pkgsrc/devel/libtirpc: buildlink3.mk

Log Message:
devel/libtirpc: further buildlink file revision.

* use INCDIRS to provide a language-agnostic include path.
* fix linking for TI-RPC.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/libtirpc/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libtirpc/buildlink3.mk
diff -u pkgsrc/devel/libtirpc/buildlink3.mk:1.3 pkgsrc/devel/libtirpc/buildlink3.mk:1.4
--- pkgsrc/devel/libtirpc/buildlink3.mk:1.3     Tue Sep  5 08:05:52 2023
+++ pkgsrc/devel/libtirpc/buildlink3.mk Wed Sep  6 10:42:51 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2023/09/05 08:05:52 vins Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2023/09/06 10:42:51 vins Exp $
 
 BUILDLINK_TREE+=               libtirpc
 
@@ -8,8 +8,9 @@ LIBTIRPC_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.libtirpc+=       libtirpc>=1.3.3
 BUILDLINK_PKGSRCDIR.libtirpc?=         ../../devel/libtirpc
 
-BUILDLINK_CPPFLAGS.libtirpc+=  -I${BUILDLINK_PREFIX.libtirpc}/include/tirpc
-BUILDLINK_LDFLAGS.libtirpc+=   -ltirpc
+BUILDLINK_INCDIRS.libtirpc?=   include/tirpc
+BUILDLINK_LIBNAME.libtirpc=    tirpc
+BUILDLINK_LIBS.libtirpc=       ${BUILDLINK_LIBNAME.libtirpc:S/^/-l/:S/^-l$//}
 
 .endif # LIBTIRPC_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index