pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

picasm: Fix BUILTIN_INCLUDE1



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Jun 12 16:46:03 2016 +0200
Changeset:	d04975676246b8ec5b38980940705df4a69d37c6

Modified Files:
	picasm/Makefile

Log Message:
picasm: Fix BUILTIN_INCLUDE1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d04975676246b8ec5b38980940705df4a69d37c6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 picasm/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/picasm/Makefile b/picasm/Makefile
index 7b2cc29..f25f802 100644
--- a/picasm/Makefile
+++ b/picasm/Makefile
@@ -15,7 +15,9 @@ LICENSE=	mit
 
 BUILD_TARGET=		picasm
 BUILD_MAKE_FLAGS=	CC=${CC:Q}
-BUILD_MAKE_FLAGS=	DEFS="-DUILTIN_INCLUDE1=${PREFIX}/share/picasm/include"
+# We need to construct -DBUILTIN_INCLUDE1=\"/usr/pkg/share/picasm/include\"
+# in order to process symbol correctly to the preprocessor
+BUILD_MAKE_FLAGS=	DEFS=-DBUILTIN_INCLUDE1=\\\"${PREFIX}/share/picasm/include\\\"
 
 INSTALLATION_DIRS=	bin share/examples/picasm share/doc/picasm \
 			share/picasm/include


Home | Main Index | Thread Index | Old Index