aboutsummaryrefslogtreecommitdiff
path: root/audio/deadbeef/Makefile
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 02:12:00 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-24 04:37:52 +0000
commit05b6297b652f4fc4f679b317a46f96c73d13230a (patch)
tree1cb685f3fcba0728d7cc3c834eedf0df6168036a /audio/deadbeef/Makefile
parentc441b60811c20ea1ccf79513b66d11eb9632d9f9 (diff)
Diffstat (limited to 'audio/deadbeef/Makefile')
-rw-r--r--audio/deadbeef/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/deadbeef/Makefile b/audio/deadbeef/Makefile
index 203eb9cc52a1..b74c159bb0c8 100644
--- a/audio/deadbeef/Makefile
+++ b/audio/deadbeef/Makefile
@@ -206,6 +206,10 @@ PLIST_SUB+= MP3="@comment "
PLIST_SUB+= MP3=""
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+= -Dregister=
+.endif
+
post-patch:
# Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches)
@${REINPLACE_CMD} -e 's, -lsupc++,,' \