Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 15:42:11 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397250 - head/devel/android-tools-adb-devel/files
Message-ID:  <201509181542.t8IFgB9U023560@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Sep 18 15:42:10 2015
New Revision: 397250
URL: https://svnweb.freebsd.org/changeset/ports/397250

Log:
  devel/android-tools-adb-devel: make -DFAKE_LOG_DEVICE local

Modified:
  head/devel/android-tools-adb-devel/files/Makefile   (contents, props changed)

Modified: head/devel/android-tools-adb-devel/files/Makefile
==============================================================================
--- head/devel/android-tools-adb-devel/files/Makefile	Fri Sep 18 15:09:17 2015	(r397249)
+++ head/devel/android-tools-adb-devel/files/Makefile	Fri Sep 18 15:42:10 2015	(r397250)
@@ -49,6 +49,7 @@ SRCS+= threads.c
 .PATH: ${.CURDIR}/../liblog
 SRCS+= fake_log_device.c
 SRCS+= logd_write.c
+CFLAGS.logd_write.c+= -DFAKE_LOG_DEVICE=1
 
 CFLAGS+= -DADB_HOST=1
 CFLAGS+= -DHAVE_FORKEXEC=1
@@ -56,10 +57,10 @@ CFLAGS+= -DHAVE_SYMLINKS
 CFLAGS+= -DHAVE_TERMIO_H
 CFLAGS+= -DHAVE_SYS_SOCKET_H
 CFLAGS+= -D_FILE_OFFSET_BITS=64
-CFLAGS+= -DFAKE_LOG_DEVICE=1
 CFLAGS+= -I${.CURDIR}
 CFLAGS+= -I${.CURDIR}/../include
 CFLAGS+= -I${.CURDIR}/../base/include
+CFLAGS+=${CFLAGS.${.IMPSRC:T}}
 
 CXXFLAGS+= -std=gnu++11
 CXXFLAGS+= ${CFLAGS:N-std*}



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