1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 19:20:36 -04:00
ports/devel/newfile/files/patch-src-Makefile.in
Johannes Jost Meixner ec52e1a574 devel/newfile: add support for dots in project names.
Fix a bug that would stop `port create` from creating ports
with "dots" in their name -- `port create foo.bar` would
previously yield a directory "foo".

Approved by:    koobs (mentor)
2015-01-23 10:39:33 +00:00

17 lines
578 B
Text

--- src/Makefile.in.orig 2003-11-03 12:49:37 UTC
+++ src/Makefile.in
@@ -279,12 +279,12 @@ uninstall-am: uninstall-info-am uninstal
install-data-hook:
- chmod +x $(pkgdatadir)/newfile.rb
+ chmod +x $(DESTDIR)$(pkgdatadir)/newfile.rb
install-exec-hook:
-mkdir -p $(bindir) || true
-rm -f $(bindir)/newfile || true
- ln -s $(pkgdatadir)/newfile.rb $(bindir)/newfile
+ ln -s $(pkgdatadir)/newfile.rb $(DESTDIR)$(bindir)/newfile
#EOF
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.