ports/audio/ncmpcpp/files/patch-extras_Makefile
Daniel Engberg 645d57fe5e audio/ncmpcpp: Update to 0.10
* Backport upstream commit 72d990fe250da1e583677474b3462b9e9894130b
* Change WWW to GitHub location
* Remove glib(20) dependency
* Remove GNU_CONFIGURE_MANPREFIX
* Add LTO OPTIMIZED_CFLAGS options to confirm with packaging standards
  https://docs.freebsd.org/en/books/porters-handbook/book/#dads-cflags
* Some minor rearragements with port Makefile

References:
72d990fe25

PR:		281505
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2024-09-28 21:29:15 +02:00

10 lines
292 B
Text

--- extras/Makefile.orig 2024-09-14 20:03:33 UTC
+++ extras/Makefile
@@ -1,5 +1,5 @@
-CXX=g++
-CXXFLAGS=-O2 -march=native -pipe -std=c++0x -Wall -Wextra -Wshadow -Werror
+CXX?=g++
+CXXFLAGS+= -Wall -Wextra -Wshadow -Werror
CPPFLAGS=`taglib-config --cflags`
LDFLAGS=`taglib-config --libs`