Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 09:04:49 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379334 - head/audio/taglookup/files
Message-ID:  <201502190904.t1J94ncp045290@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Feb 19 09:04:48 2015
New Revision: 379334
URL: https://svnweb.freebsd.org/changeset/ports/379334
QAT: https://qat.redports.org/buildarchive/r379334/

Log:
  audio/taglookup: Respect CXXFLAGS (PHB 12.9)
  
  While here, fix LDFLAGS and use the BSD_INSTALL_* macros instead of
  hardcoding modes.
  
  Approved by:	blanket

Modified:
  head/audio/taglookup/files/patch-Makefile

Modified: head/audio/taglookup/files/patch-Makefile
==============================================================================
--- head/audio/taglookup/files/patch-Makefile	Thu Feb 19 07:41:58 2015	(r379333)
+++ head/audio/taglookup/files/patch-Makefile	Thu Feb 19 09:04:48 2015	(r379334)
@@ -1,22 +1,27 @@
---- ./Makefile.orig	2007-10-29 13:02:54.000000000 +0100
-+++ ./Makefile	2014-04-07 10:15:45.329720325 +0200
-@@ -4,7 +4,7 @@
+--- Makefile.orig	2007-10-29 12:02:54 UTC
++++ Makefile
+@@ -4,10 +4,10 @@ LIBCDDB_LIBRARY = `pkg-config --libs lib
  TAGLIB_INCLUDE = `taglib-config --cflags`
  TAGLIB_LIBRARY = `taglib-config --libs`
  
 -CPP = g++
 +CPP = $(CXX)
  
- CPPFLAGS = -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c
- LDFLAGS = $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY)
-@@ -18,8 +18,8 @@
+-CPPFLAGS = -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c
+-LDFLAGS = $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY)
++CPPFLAGS = ${CXXFLAGS} -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c
++LDFLAGS+= $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY)
+ 
+ OBJ = cddb_query.o cddb_query_impl.o command_line.o main.o tag.o tracks.o
+ EXE = taglookup
+@@ -18,8 +18,8 @@ EXE = taglookup
  all: $(EXE)
  
  install: $(EXE)
 -	$(INSTALL) -c -o root -g wheel -m 644 taglookup.1 $(PREFIX)/man/man1/taglookup.1
 -	$(INSTALL) -c -o root -g wheel -m 755 $(EXE) $(PREFIX)/bin/taglookup
-+	$(INSTALL) -c -m 644 taglookup.1 $(DESTDIR)$(PREFIX)/man/man1/taglookup.1
-+	$(INSTALL) -c -m 755 $(EXE) $(DESTDIR)$(PREFIX)/bin/taglookup
++	$(BSD_INSTALL_MAN) taglookup.1 $(DESTDIR)$(PREFIX)/man/man1/taglookup.1
++	$(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(PREFIX)/bin/taglookup
  
  $(EXE): $(OBJ)
  	$(CPP) $(LDFLAGS) $(OBJ) -o $(EXE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502190904.t1J94ncp045290>