diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:54 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:54 +0200 |
commit | 5a1630a1a380f9db51b773e411549cd275e1a385 (patch) | |
tree | 7caf0861cc626e7476e0d7473dda7130812d9713 /audio/pd/makefile.in.DESTDIR.diff | |
parent | b5ec065f64180edee4af1e1df2cecf648d6c1259 (diff) | |
download | slackbuilds-5a1630a1a380f9db51b773e411549cd275e1a385.tar.gz |
audio/pd: Moved from multimedia
Diffstat (limited to 'audio/pd/makefile.in.DESTDIR.diff')
-rw-r--r-- | audio/pd/makefile.in.DESTDIR.diff | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/audio/pd/makefile.in.DESTDIR.diff b/audio/pd/makefile.in.DESTDIR.diff new file mode 100644 index 0000000000..681c8d453c --- /dev/null +++ b/audio/pd/makefile.in.DESTDIR.diff @@ -0,0 +1,58 @@ +Patch to make pd honor DESTDIR completely. +Permission is granted to use this patch as you see fit. + -- Robby Workman <rworkman@slackbuilds.org> + + +--- pd-0.40-3/src/makefile.in.orig 2007-12-10 23:49:08.977673553 -0600 ++++ pd-0.40-3/src/makefile.in 2007-12-10 23:49:37.421067260 -0600 +@@ -145,31 +145,31 @@ + + BINARYMODE=@binarymode@ + +-ABOUT_FILE=$(pddocdir)/1.manual/1.introduction.txt ++ABOUT_FILE=$(DESTDIR)/$(pddocdir)/1.manual/1.introduction.txt + install: all +- install -d $(libpdbindir) +- install $(BIN_DIR)/$(GUINAME) $(libpdbindir)/$(GUINAME) +- install $(BIN_DIR)/pd-watchdog $(libpdbindir)/pd-watchdog +- install -m644 $(BIN_DIR)/pd.tk $(libpdbindir)/pd.tk ++ install -d $(DESTDIR)/$(libpdbindir) ++ install $(BIN_DIR)/$(GUINAME) $(DESTDIR)/$(libpdbindir)/$(GUINAME) ++ install $(BIN_DIR)/pd-watchdog $(DESTDIR)/$(libpdbindir)/pd-watchdog ++ install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)/$(libpdbindir)/pd.tk + install -d $(DESTDIR)$(bindir) + install $(BINARYMODE) $(PDEXEC) $(DESTDIR)$(bindir)/pd + install -m755 $(BIN_DIR)/pdsend $(DESTDIR)$(bindir)/pdsend + install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)$(bindir)/pdreceive + for dir in $(shell ls -1 ../doc | grep -v CVS); do \ + echo "installing $$dir"; \ +- install -d $(pddocdir)/$$dir ; \ +- install -p ../doc/$$dir/*.* $(pddocdir)/$$dir ; \ ++ install -d $(DESTDIR)/$(pddocdir)/$$dir ; \ ++ install -p ../doc/$$dir/*.* $(DESTDIR)/$(pddocdir)/$$dir ; \ + done + for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \ + echo "installing 7.stuff/$$dir"; \ +- install -d $(pddocdir)/7.stuff/$$dir ; \ +- install -p ../doc/7.stuff/$$dir/*.* $(pddocdir)/7.stuff/$$dir ; \ ++ install -d $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \ ++ install -p ../doc/7.stuff/$$dir/*.* $(DESTDIR)/$(pddocdir)/7.stuff/$$dir ; \ + done + mv $(ABOUT_FILE) $(ABOUT_FILE).tmp + cat $(ABOUT_FILE).tmp | sed 's|PD_VERSION|Pd version $(PD_VERSION)|' \ + > $(ABOUT_FILE) + rm $(ABOUT_FILE).tmp +- cp -pr ../extra $(libpddir)/ ++ cp -pr ../extra $(DESTDIR)/$(libpddir)/ + rm -f $(libpddir)/extra/*/*.o + install -d $(DESTDIR)$(includedir) + install -m644 m_pd.h $(DESTDIR)$(includedir)/m_pd.h +@@ -212,7 +212,7 @@ + $(CC) $(CPPFLAGS) -M $(SRC) > makefile.dependencies + + uninstall: +- rm -f -r $(libpddir) ++ rm -f -r $(DESTDIR)/$(libpddir) + rm -f $(DESTDIR)$(bindir)/pd + rm -f $(DESTDIR)$(bindir)/pdsend + rm -f $(DESTDIR)$(bindir)/pdreceive |