1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix passing of SRCFILE and PORT_SRCFILE knobs to gmake.

Also fix FPWPARSERFLAGS, which seemed to be broken wrt charset.

PR:		ports/79711
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
This commit is contained in:
Sam Lawrance 2005-06-13 02:12:19 +00:00
parent 0b03e353f8
commit 1d193206da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137378
2 changed files with 11 additions and 12 deletions

View File

@ -39,7 +39,7 @@ DICT_PATH:= ${WRKDIR}
CDROM_PATH= ${NONEXISTENT}
.endif
MAKE_ARGS:= PORT_SRCFILE=${DICT_PATH}/${SRCFILE}
MAKE_ARGS:= SRCFILE=${DICT_PATH}/${SRCFILE}
post-extract:
@if [ -f ${CDROM_PATH}/eijiro-original/*.exe ]; then \

View File

@ -1,12 +1,11 @@
--- ../orig/eijiro-fpw1.0b/Makefile Sun Oct 8 23:40:55 2000
+++ Makefile Thu Dec 21 12:03:11 2000
@@ -17,7 +17,8 @@
#
EIJIROVER = 37
SRCDIR = .
-SRCFILE := $(wildcard ${SRCDIR}/EIJI${EIJIROVER}??.TXT)
+#SRCFILE := $(wildcard ${SRCDIR}/EIJI${EIJIROVER}??.TXT)
+SRCFILE=${PORT_SRCFILE}
#SRCFILE = test.txt
--- Makefile.orig Sun Oct 8 14:40:55 2000
+++ Makefile Mon Jun 13 11:55:22 2005
@@ -47,7 +47,7 @@
DIR = eijiro
#
FPWPARSER = eijiro-fpw.pl
-FPWPARSERFLAGS = -- --charset=${CHARSET} ${SRCFILE}
+FPWPARSERFLAGS = -c "${CHARSET}" "${SRCFILE}"
# fpwutils.mk must be located in one of the make include directories or
# you should user -I option.