pkgsrc-Bugs archive

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

Re: pkg/54983: devel/libevent cannot write .pc file in builtin mode



The following reply was made to PR pkg/54983; it has been noted by GNATS.

From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= <triaxx%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: jperkin%joyent.com@localhost, wiz%NetBSD.org@localhost
Subject: Re: pkg/54983: devel/libevent cannot write .pc file in builtin mode
Date: Wed, 19 Feb 2020 09:19:51 +0100

 I suggest the following patch to solve the problem. I intend to test it
 before committing. Your comments are welcomed.
 
 Index: builtin.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/libevent/builtin.mk,v
 retrieving revision 1.19
 diff -u -r1.19 builtin.mk
 --- builtin.mk  3 Nov 2019 10:39:16 -0000       1.19
 +++ builtin.mk  19 Feb 2020 08:13:51 -0000
 @@ -153,6 +153,7 @@
  override-libevent-pkgconfig:
         ${RUN}                                          \
         ${MKDIR} ${BLKDIR_PKGCFG};                      \
 +       ${RM} -f ${BLKDIR_PKGCFG}/${LIBEVENT_PKGCFGF};  \
         {                                               \
         ${ECHO} "prefix=${LIBEVENT_PREFIX}";            \
         ${ECHO} "exec_prefix=\$${prefix}";              \
 @@ -166,6 +167,7 @@
         ${ECHO} "Cflags: -I\$${includedir}";            \
         } >> ${BLKDIR_PKGCFG}/${LIBEVENT_PKGCFGF};
         ${RUN}                                          \
 +       ${RM} -f ${BLKDIR_PKGCFG}/${LIBEVENT_OPENSSL_PKGCFGF};  \
         {                                               \
         ${ECHO} "prefix=${LIBEVENT_PREFIX}";            \
         ${ECHO} "exec_prefix=\$${prefix}";              \
 @@ -180,6 +182,7 @@
         ${ECHO} "Cflags: -I\$${includedir}";            \
         } >> ${BLKDIR_PKGCFG}/${LIBEVENT_OPENSSL_PKGCFGF};
         ${RUN}                                          \
 +       ${RM} -f ${BLKDIR_PKGCFG}/${LIBEVENT_PTHREADS_PKGCFGF}; \
         {                                               \
         ${ECHO} "prefix=${LIBEVENT_PREFIX}";            \
         ${ECHO} "exec_prefix=\$${prefix}";              \
 


Home | Main Index | Thread Index | Old Index