pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/deforaos-configure deforaos-configure: fix the b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0a96eb2f879
branches:  trunk
changeset: 376759:c0a96eb2f879
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Apr 13 00:06:21 2022 +0000

description:
deforaos-configure: fix the build on macOS

diffstat:

 devel/deforaos-configure/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r cb1494ece74b -r c0a96eb2f879 devel/deforaos-configure/Makefile
--- a/devel/deforaos-configure/Makefile Tue Apr 12 23:50:43 2022 +0000
+++ b/devel/deforaos-configure/Makefile Wed Apr 13 00:06:21 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/04/12 22:28:04 khorben Exp $
+# $NetBSD: Makefile,v 1.12 2022/04/13 00:06:21 khorben Exp $
 
 DISTNAME=      configure-0.4.3
 PKGNAME=       deforaos-configure-0.4.3
@@ -26,6 +26,10 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${OPSYS} == "Darwin"
+LDFLAGS+=-lm
+.endif
+
 .if ${PKGMANDIR} != "share/man"
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/share/man/html1/configure.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/configure.html



Home | Main Index | Thread Index | Old Index