pkgsrc-Users archive

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

Re: sqlite3 build failure



On Wed, 30 Apr 2025 12:01:32 -0700 (PDT)
Paul Goyette <paul%whooppee.com@localhost> wrote:

> with up-to-date pkgsrc and started from an empty sandbox:
> 
> ===> Creating toolchain wrappers for sqlite3-3.49.1nb3
> ln: 
> /tmp/pkgs/databases/sqlite3/work/.buildlink/lib/pkgconfig/libedit.pc: No such file or directory
> *** Error code 1
> 
> 
> Any clue?

Does this work?

RCS file: /cvsroot/pkgsrc/devel/editline/builtin.mk,v
retrieving revision 1.12
diff -p -u -r1.12 builtin.mk
--- builtin.mk	30 Apr 2025 12:22:43 -0000	1.12
+++ builtin.mk	30 Apr 2025 19:51:31 -0000
@@ -57,12 +57,12 @@ ensure-libedit-pc:
 	dst=${BUILDLINK_DIR}/lib/pkgconfig/libedit.pc;			\
 	src=${BUILDLINK_PREFIX.editline}/lib${LIBABISUFFIX}/pkgconfig/libedit.pc; \
 	if [ ! -f $${dst} ]; then					\
+		${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig;		\
 		if [ -f $${src} ]; then					\
 			${ECHO_BUILDLINK_MSG} "Symlinking $${src}";	\
 			${LN} -sf $${src} $${dst};			\
 		else							\
 			${ECHO_BUILDLINK_MSG} "Creating $${dst}";	\
-			${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig;	\
 			{						\
 			${ECHO} "prefix=${BUILDLINK_PREFIX.editline}";	\
 			${ECHO} "exec_prefix=\$${prefix}";		\


Home | Main Index | Thread Index | Old Index