$OpenBSD: patch-img_Makefile,v 1.1.1.1 2013/01/23 08:38:53 jasper Exp $
--- img/Makefile.orig	Sat May 12 11:37:14 2012
+++ img/Makefile	Mon Jan 21 15:12:16 2013
@@ -13,7 +13,8 @@ include $(TOPDIR)/Rules.mak
 sinclude .depend
 
 install: xca-32x32.xpm
-	install -D -m 644 $^ $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
+	mkdir -p $(destdir)$(prefix)/share/pixmaps
+	install -m 644 $^ $(destdir)$(prefix)/share/pixmaps/xca-32x32.xpm
 
 imgres.cpp: imgres.rcc
 	@$(PRINT) "  RCC    [$(BASENAME)] $@"
