pkgsrc-WIP-changes archive

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

abc: built with namespace, modified buidlink for static lib



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Sat Sep 14 10:54:03 2024 +0530
Changeset:	f6cbe3a88405bc71a80960db82c571b46634f8af

Modified Files:
	abc/Makefile
	abc/buildlink3.mk

Log Message:
abc: built with namespace, modified buidlink for static lib

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f6cbe3a88405bc71a80960db82c571b46634f8af

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

diffstat:
 abc/Makefile      | 4 ++--
 abc/buildlink3.mk | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/abc/Makefile b/abc/Makefile
index 71d5008f5a..052ff1c1c5 100644
--- a/abc/Makefile
+++ b/abc/Makefile
@@ -17,13 +17,13 @@ WRKSRC=		${WRKDIR}/abc-ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake pax find
 
+CMAKE_CONFIGURE_ARGS+=	-DABC_USE_NAMESPACE=abc
+
 INSTALLATION_DIRS+=	bin lib include
 
 BUILDDIR=	${WRKSRC}/${CMAKE_BUILD_DIR}
 INCLUDEDIR=	${DESTDIR}${PREFIX}/include/abc
 
-# TODO: We need a subdir for abc under prefix
-
 do-install:
 .for idir in ${INSTALLATION_DIRS}
 	${MKDIR} -p ${DESTDIR}${PREFIX}/${idir}
diff --git a/abc/buildlink3.mk b/abc/buildlink3.mk
index b753d12cfa..b638fe7781 100644
--- a/abc/buildlink3.mk
+++ b/abc/buildlink3.mk
@@ -5,6 +5,7 @@ BUILDLINK_TREE+=	abc
 .if !defined(ABC_BUILDLINK3_MK)
 ABC_BUILDLINK3_MK:=
 
+BUILDLINK_DEPMETHOD.abc?=	build
 BUILDLINK_API_DEPENDS.abc+=	abc>=ef5389d31526003c2ebd7e6d6d6fe3848a20f0a2
 BUILDLINK_PKGSRCDIR.abc?=	../../wip/abc
 .endif	# ABC_BUILDLINK3_MK


Home | Main Index | Thread Index | Old Index