pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/apr



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 18 08:47:36 UTC 2023

Modified Files:
        pkgsrc/devel/apr: Makefile

Log Message:
apr: on Solaris, depend on bash

apr-config doesn't work with Solaris' 10 sh(1).

Closes PR pkg/57360.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 pkgsrc/devel/apr/Makefile

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

Modified files:

Index: pkgsrc/devel/apr/Makefile
diff -u pkgsrc/devel/apr/Makefile:1.88 pkgsrc/devel/apr/Makefile:1.89
--- pkgsrc/devel/apr/Makefile:1.88      Fri Apr  7 14:07:22 2023
+++ pkgsrc/devel/apr/Makefile   Tue Apr 18 08:47:36 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2023/04/07 14:07:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.89 2023/04/18 08:47:36 wiz Exp $
 #
 # Take care, changelogs often include "PR 12345" strings
 # which cause GNATS indigestion.
@@ -24,11 +24,17 @@ CONFIGURE_ENV+=             LIBS=${LIBS:M*:Q}
 LIBS.SunOS+=           -lnsl
 TEST_TARGET=           check
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+USE_TOOLS+=            bash:run
+REPLACE_BASH+=         apr-config.in
+.endif
+
 post-install:
        ${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
        ${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
 
-.include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
 .include "../../devel/libuuid/buildlink3.mk"
 .endif



Home | Main Index | Thread Index | Old Index