opnsense-ports/sysutils/modules/files/patch-init__Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
719 B
Text

--- init/Makefile.in.orig 2012-12-19 18:02:26.000000000 +0100
+++ init/Makefile.in 2014-09-04 14:32:46.863296746 +0200
@@ -437,9 +437,10 @@
# 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; \