aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu-commfont/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gnu-commfont/Makefile.common')
-rw-r--r--print/ghostscript-gnu-commfont/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/print/ghostscript-gnu-commfont/Makefile.common b/print/ghostscript-gnu-commfont/Makefile.common
index 025a7b0dfc23..2a2be5c30d03 100644
--- a/print/ghostscript-gnu-commfont/Makefile.common
+++ b/print/ghostscript-gnu-commfont/Makefile.common
@@ -16,7 +16,7 @@ NO_BUILD= yes
NO_WRKSUBDIR= yes
GSLIB_DIR= ${PREFIX}/share/ghostscript/${PORTVERSION}/lib
-PLIST_SUB= GS_VERSION=${PORTVERSION}
+PLIST_SUB= GS_VERSION=${PORTVERSION} SHAREMODE=${SHAREMODE}
.if defined(COMMFONT)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-commfont
@@ -60,6 +60,7 @@ do-install:
${GREP} -v -e "${CIDFNMAP}" ${GSLIB_DIR}/CIDFnmap.orig > \
${GSLIB_DIR}/CIDFnmap
${ECHO_CMD} '(${CIDFNMAP}) .runlibfile' >> ${GSLIB_DIR}/CIDFnmap
+ ${CHMOD} ${SHAREMODE} ${GSLIB_DIR}/CIDFnmap
.endif
post-install: