Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177461668
D10355.1794472360.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D10355.1794472360.diff
View Options
Index: head/audio/cmus/Makefile
===================================================================
--- head/audio/cmus/Makefile
+++ head/audio/cmus/Makefile
@@ -2,8 +2,9 @@
# $FreeBSD$
PORTNAME= cmus
-DISTVERSION= 2.8.0-rc0
DISTVERSIONPREFIX= v
+DISTVERSION= 2.8.0-rc0
+PORTREVISION= 1
CATEGORIES= audio
DIST_SUBDIR= cmus
@@ -136,9 +137,6 @@
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
post-patch:
-# From DPorts: prevent passing -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
- @${REINPLACE_CMD} -e 's@\(NCURSES_CFLAGS=\).*@\1""@g' \
- ${WRKSRC}/configure
# Doc/cmus.txt is used to generate the man pages. Fix paths to point
# to the correct directories.
@${REINPLACE_CMD} \
@@ -146,6 +144,11 @@
-e 's,/usr/share/cmus,${DATADIR},g' \
${WRKSRC}/Doc/cmus.txt
+post-configure:
+# Prevent passing wrong flags from devel/ncurses' pkg-config file to the build
+ @${REINPLACE_CMD} -e 's|-D_POSIX_C_SOURCE=200112L||g; s|-D_XOPEN_SOURCE=600||g' \
+ ${WRKSRC}/config.mk
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cmus*
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/cmus/[io]p/*.so
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 12, 8:32 AM (15 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41663333
Default Alt Text
D10355.1794472360.diff (1 KB)
Attached To
Mode
D10355: audio/cmus: Fix broken UI when linking with devel/ncurses
Attached
Detach File
Event Timeline