diff options
author | wiz <wiz@pkgsrc.org> | 2017-07-13 12:04:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-07-13 12:04:37 +0000 |
commit | 2d2280bc5725841ed8ed43664bc74b9ba9effc88 (patch) | |
tree | 3e658d6c366277c513e7b863362067fd11592c01 /audio/ocp/Makefile | |
parent | c1c59b35472630b6525779a9775d614dac463f59 (diff) | |
download | pkgsrc-2d2280bc5725841ed8ed43664bc74b9ba9effc88.tar.gz |
Honor LDFLAGS. Fixes RELRO build.
Diffstat (limited to 'audio/ocp/Makefile')
-rw-r--r-- | audio/ocp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 6125c7e54c1..60f5e4e0457 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2016/03/03 19:35:13 shattered Exp $ +# $NetBSD: Makefile,v 1.21 2017/07/13 12:04:37 wiz Exp $ DISTNAME= ocp-0.1.21 PKGREVISION= 7 @@ -33,6 +33,12 @@ CFLAGS.SunOS+= -DSOUND_PCM_WRITE_RATE=SNDCTL_DSP_SPEED PLIST_VARS+= sdl x11 desktop +SUBST_CLASSES+= ldflags +SUBST_SED.ldflags+= -e 's/$$(SHARED_FLAGS)/$$(LDFLAGS) $$(SHARED_FLAGS)/g' +SUBST_FILES.ldflags+= */Makefile +SUBST_MESSAGE.ldflags= Honoring LDFLAGS. +SUBST_STAGE.ldflags= pre-build + .include "options.mk" .include "../../audio/libid3tag/buildlink3.mk" |