Comments (4)
Hi @ryandesign,
I don't understand what "incorrectly points into the destdir" means. Maybe I can't understand the problem yet, but where else should it point to?
If you stage an installation using DESTDIR
, you want it to be jailed into DESTDIR
. This is the result of an installation using DESTDIR=/temp
(being /temp
a placeholder):
/temp/usr
/temp/usr/local
/temp/usr/local/bin
/temp/usr/local/bin/fswatch
/temp/usr/local/bin/fswatch-run
/temp/usr/local/bin/fswatch-run-bash
/temp/usr/local/bin/fswatch-run-zsh
Checking the fswatch-run
symlink (and trimming ls
long details):
$ cd /temp/usr/local/bin
$ ls -la fswatch*
fswatch
fswatch-run -> /temp/usr/local/bin/fswatch-run-zsh
fswatch-run-bash
fswatch-run-zsh
fswatch-run
points to the corresponding script into the directory hierarchy rooted at DESTDIR
and this is the intended behaviour.
Could you elaborate on your question, please?
from fswatch.
Hi @ryandesign,
The patch you applied breaks DESTDIR
installs:
$ pwd
/temp/usr/local/bin
$ ls -al
fswatch
fswatch-run -> /usr/local/bin/fswatch-run-zsh
while it should link to the script in /temp/usr/local/bin/fswatch-run-zsh
.
I don't understand MacPorts behaviour (in Homebrew, it works correctly for example), but dropping DESTDIR
is not the solution.
I'll ask somebody at MacPorts to have a look at that one.
Cheers,
-- Enrico
from fswatch.
@emcrisostomo, there is nothing wrong with MacPorts’ behavior. The problem is that you are using DESTDIR
where you ought to be using prefix
.
The DESTDIR
variable is used to facilitate staged installs, where the install
target places the build products into a temporary location rather than the final one. For instance, MacPorts installs software to a “destroot” before finally moving it into our “prefix”.
What you’re looking to do is change the root of your installation tree. You must use the prefix
variable for this.
from fswatch.
Thank you @larryv,
Doh, that's was clarifying indeed! I'll update Makefile.am
.
Thank you very much.
from fswatch.
Related Issues (20)
- broken exclude on macos? HOT 1
- Configuration header leaked into public interface in v. 1.17.0 HOT 8
- How to get the PDF documentation HOT 3
- Universal (Arm + x86) library build for MacOS on M1 HOT 1
- Ask for help HOT 1
- import error in silicon mac
- Additional waiting period after --one-event
- Make fails on Solaris 11.4 cbe with gcc-10 or gcc-11
- Trailing slash for directories HOT 1
- CMake package config file is not installed
- fswatch fails to build on windows 11 using cygwin
- Installation for windows missing
- libfswatch README copyright looks stale
- Help configuring fswatch to act only on full file being written by SFTP clients HOT 1
- fswatch command fires multiple events for a single move operation HOT 4
- Which event type should I look for if I am watching a Google Drive directory for new files?
- NetBSD support
- Is there any way to get previous filename for Rename event?
- Symlink question: Is fswatch suppose to notify of linked file changes HOT 1
- execute cmd for single filetype
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fswatch.