frotz: patch CONFIG_DIR as well

This commit is contained in:
Jürgen Buchmüller 2016-01-02 11:13:54 +01:00
parent 1ffc6d550a
commit d494dc5fc3
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'frotz'
pkgname=frotz
version=2.44
revision=1
revision=2
build_style=gnu-makefile
make_build_target="frotz dfrotz"
make_install_target="install install_dumb"
@ -20,6 +20,7 @@ pre_build() {
-e "s;^OPTS = .*;OPTS = $CFLAGS;" \
-e 's;^PREFIX = .*;PREFIX = /usr;' \
-e 's;^MAN_PREFIX = .*;MAN_PREFIX = /usr/share;' \
-e 's;^CONFIG_DIR = .*;CONFIG_DIR = /etc;' \
-e 's; $(PREFIX)/bin; $(DESTDIR)/$(PREFIX)/bin;' \
-e 's; $(MAN_PREFIX)/man; $(DESTDIR)/$(MAN_PREFIX)/man;' \
-e 's;\($(CC) -o $(BINNAME)$(EXTENSION)\);\1 $(LDFLAGS);' \