ports/sysutils/modules/files/patch-init__Makefile.in
Pawel Pekala 317d90636d - Convert to USES=tcl changing version of TCL
port depends on to 8.6, bump PORTREVISION
- Add patch fixing build with TCL 8.6
- Regenerate patches with make makepatch

PR:		211690
Submitted by:	Matthieu Volat
2016-08-19 22:09:44 +00:00

16 lines
689 B
Text

--- init/Makefile.in.orig 2012-12-19 17:02:26 UTC
+++ init/Makefile.in
@@ -437,9 +437,10 @@ uninstall-inits :
# We need to filter the *.in files to produce the init scripts
# since we don't know the value of '@prefix@' until Make time.
# (We can not rely on configure to give us correct values.)
-% : %.in $(top_builddir)/config.status
- sed -e "/@$(if $(subst 0,,$(WANTS_VERSIONING)),NOT,)VERSIONING\@/d; \
- s,@$(if $(subst 0,,$(WANTS_VERSIONING)),,NOT)VERSIONING\@,,g; \
+.SUFFIXES: .in .NULL
+.in: $(top_builddir)/config.status
+ sed -e "/@VERSIONING\@/d; \
+ s,@NOTVERSIONING\@,,g; \
s,@prefix\@,${prefix},g; \
s,@bindir\@,${exec_prefix}/bin,g; \
s,@VERSION\@,@VERSION@,g; \