openbsd-ports/graphics/netpbm/patches/patch-Makefile_common
giovanni 5f53de03c3 update to 10.35.85
help and ok naddy@, thanks
2012-07-11 09:53:52 +00:00

28 lines
1008 B
Plaintext

$OpenBSD: patch-Makefile_common,v 1.8 2012/07/11 09:53:52 giovanni Exp $
--- Makefile.common.orig Thu Jun 21 22:40:36 2012
+++ Makefile.common Tue Jul 10 00:10:52 2012
@@ -417,19 +417,19 @@ install.bin: $(BINARIES:%=%_installbin) $(SCRIPTS:%=%_
INSTALLBIN_TARGETS = $(BINARIES:%=%_installbin) netpbm_installbin
.PHONY: $(INSTALLBIN_TARGETS)
$(INSTALLBIN_TARGETS): $(PKGDIR)/bin
- $(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=%) $<
.PHONY: install.data
install.data: $(DATAFILES:%=%_installdata) $(SUBDIRS:%=%/install.data)
.PHONY: $(DATAFILES:%=%_installdata)
-$(DATAFILES:%=%_installdata): $(PKGDIR)/misc
- $(INSTALL) -c -m $(INSTALL_PERM_DATA) \
+$(DATAFILES:%=%_installdata): $(PKGDIR)/share/netpbm
+ $(BSD_INSTALL_DATA) \
$(SRCDIR)/$(SUBDIR)/$(@:%_installdata=%) $<