pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

js-Gallery: fix DESTDIR installation.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Oct 31 08:34:47 2016 +0100
Changeset:	24674f2b85d6f2844870da7afcbe7de95936e17a

Modified Files:
	js-Gallery/Makefile

Log Message:
js-Gallery: fix DESTDIR installation.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=24674f2b85d6f2844870da7afcbe7de95936e17a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 js-Gallery/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/js-Gallery/Makefile b/js-Gallery/Makefile
index 0eff9c2..6c19f4c 100644
--- a/js-Gallery/Makefile
+++ b/js-Gallery/Makefile
@@ -66,7 +66,7 @@ VENDOR_FILES= ${WRKSRC}/js/vendor/jquery.js
 MY_DIR= ${DESTDIR}${PREFIX}/share/${PKGBASE}
 
 do-install:
-	for d in ${INSTALLATION_DIRS}; do ${MKDIR} -m 0755 ${PREFIX}/$${d}; done
+	for d in ${INSTALLATION_DIRS}; do ${MKDIR} -m 0755 ${DESTDIR}${PREFIX}/$${d}; done
 	${INSTALL_DATA} -m 444 ${GALLERY_FILES} ${MY_DIR}
 	${INSTALL_DATA} -m 444 ${CSS_FILES}     ${MY_DIR}/css
 	${INSTALL_DATA} -m 444 ${IMG_FILES}     ${MY_DIR}/img


Home | Main Index | Thread Index | Old Index