openbsd-ports/graphics/netpbm/patches/patch-Makefile_common

28 lines
1005 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile_common,v 1.7 2010/07/02 02:54:59 naddy Exp $
--- Makefile.common.orig Mon Nov 13 05:14:19 2006
+++ Makefile.common Wed Jun 30 02:05:13 2010
@@ -408,19 +408,19 @@ install.bin: $(BINARIES:%=%_installbin) $(SCRIPTS:%=%_
INSTALLBIN_TARGETS = $(BINARIES:%=%_installbin) netpbm_installbin
.PHONY: $(INSTALLBIN_TARGETS)
$(INSTALLBIN_TARGETS): $(PKGDIR)/bin
2001-10-02 23:09:31 -04:00
- $(INSTALL) -c $(STRIPFLAG) -m $(INSTALL_PERM_BIN) \
+ $(BSD_INSTALL_PROGRAM) \
$(@:%_installbin=%) $<
$(SCRIPTS:%=%_installscript): $(PKGDIR)/bin
- $(INSTALL) -c -m $(INSTALL_PERM_BIN) \
+ $(BSD_INSTALL_SCRIPT) \
$(SRCDIR)/$(SUBDIR)/$(@:%_installscript=%) $<
2001-10-02 23:09:31 -04:00
.PHONY: install.data
install.data: $(DATAFILES:%=%_installdata) $(SUBDIRS:%=%/install.data)
2001-10-02 23:09:31 -04:00
.PHONY: $(DATAFILES:%=%_installdata)
-$(DATAFILES:%=%_installdata): $(PKGDIR)/misc
- $(INSTALL) -c -m $(INSTALL_PERM_DATA) \
+$(DATAFILES:%=%_installdata): $(PKGDIR)/share/netpbm
+ $(BSD_INSTALL_DATA) \
$(SRCDIR)/$(SUBDIR)/$(@:%_installdata=%) $<
2001-10-02 23:09:31 -04:00
2002-03-01 17:49:19 -05:00