We must pass a double-quote into the C program to set the value of a string.

For some reason, CPPFLAGS+= pulls the expression in _twice_, with different
quote expansion each time. This makes it even trickier than it needs to be,
so go with CPPFLAGS=.
This commit is contained in:
fredb 2001-07-02 22:46:49 +00:00
parent 5bd6971727
commit a2e58d221e

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2001/06/11 06:34:45 jlam Exp $
# $NetBSD: Makefile,v 1.7 2001/07/02 22:46:49 fredb Exp $
#
DISTNAME= pinfo-0.6.0
@ -15,7 +15,7 @@ BUILD_USES_MSGFMT= yes
GNU_CONFIGURE= yes
USE_LIBINTL= yes
CPPFLAGS+= -DDFLT_INFOPATH='\"/usr/share/info:${X11BASE}/info:${LOCALBASE}/info:/usr/local/info\"'
CPPFLAGS= -DDFLT_INFOPATH='\"/usr/share/info:${X11BASE}/info:${LOCALBASE}/info:/usr/local/info\"'
post-install:
${INSTALL_DATA} ${WRKSRC}/src/pinforc ${PREFIX}/share/examples/