pkgsrc-WIP-changes archive

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

csound6: Simplify LDFLAGS for NetBSD



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Mon Oct 28 11:44:05 2019 +0100
Changeset:	0bc6488775a42b401cecd8487cfeecd7d1b712c1

Modified Files:
	csound6/Makefile

Log Message:
csound6: Simplify LDFLAGS for NetBSD

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

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

diffstat:
 csound6/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diffs:
diff --git a/csound6/Makefile b/csound6/Makefile
index 07019887c0..c2bf232a59 100644
--- a/csound6/Makefile
+++ b/csound6/Makefile
@@ -34,9 +34,7 @@ LDFLAGS+=		${COMPILER_RPATH_FLAG}${PREFIX}/lib/csound6
 # Workaround for missing image libraries (cmake don't link them otherwise)
 LDFLAGS+=		-ljpeg -lpng
 # Link Backtrace Information Library on NetBSD (to fix unresolved symbols)
-.if ${OPSYS} == "NetBSD"
-LDFLAGS+=		-lexecinfo
-.endif
+LDFLAGS.NetBSD+=	-lexecinfo
 # Backtrace Information Library was introduced with NetBSD 7
 NOT_FOR_PLATFORM=	NetBSD-[0-6].*-*
 


Home | Main Index | Thread Index | Old Index