aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2011-07-27 15:19:29 +0800
committerlev <lev@FreeBSD.org>2011-07-27 15:19:29 +0800
commit475735f30a43ad8b1e3f05c7a747c827ca718cfe (patch)
tree0096ec9e630d7754a5b248ace706486d47562710 /devel
parent1b5a2e1c1da9c1fc83db2d276953f52c6b130ef3 (diff)
downloadfreebsd-ports-gnome-475735f30a43ad8b1e3f05c7a747c827ca718cfe.tar.gz
freebsd-ports-gnome-475735f30a43ad8b1e3f05c7a747c827ca718cfe.tar.zst
freebsd-ports-gnome-475735f30a43ad8b1e3f05c7a747c827ca718cfe.zip
Fix mode of installed files.
Diffstat (limited to 'devel')
-rw-r--r--devel/msp430mcu/Makefile1
-rw-r--r--devel/msp430mcu/files/patch-scripts-install.sh25
2 files changed, 26 insertions, 0 deletions
diff --git a/devel/msp430mcu/Makefile b/devel/msp430mcu/Makefile
index a401bfe24396..8c0dba3ca2b2 100644
--- a/devel/msp430mcu/Makefile
+++ b/devel/msp430mcu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ${MCUTARGET}mcu
PORTVERSION= 1.0.${MCUVERSION}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/mspgcc/${PORTNAME}
DISTFILES= ${PORTNAME}-${MCUVERSION}${EXTRACT_SUFX}
diff --git a/devel/msp430mcu/files/patch-scripts-install.sh b/devel/msp430mcu/files/patch-scripts-install.sh
new file mode 100644
index 000000000000..eea982aeb29d
--- /dev/null
+++ b/devel/msp430mcu/files/patch-scripts-install.sh
@@ -0,0 +1,25 @@
+diff --git a/scripts/install.sh b/scripts/install.sh
+index 3d71e63..2a40727 100755
+--- scripts/install.sh.orig
++++ scripts/install.sh
+@@ -15,16 +15,16 @@ LIBPATH=${PREFIX}/msp430/lib
+ mkdir -p ${INCPATH} ${LIBPATH}
+
+ # Upstream headers
+-install -p ${UPSTREAM}/*.h ${INCPATH}
++install -m 0644 -p ${UPSTREAM}/*.h ${INCPATH}
+
+ # Local override headers
+-install -p ${MSP430MCU_ROOT}/include/*.h ${INCPATH}
++install -m 0644 -p ${MSP430MCU_ROOT}/include/*.h ${INCPATH}
+
+ # Override msp430.h to accommodate legacy MSPGCC MCU identifiers
+-install -p ${ANALYSIS}/msp430.h ${INCPATH}
++install -m 0644 -p ${ANALYSIS}/msp430.h ${INCPATH}
+
+ # MCU-specific data for GCC driver program
+-install -p ${ANALYSIS}/msp430mcu.spec ${LIBPATH}
++install -m 0644 -p ${ANALYSIS}/msp430mcu.spec ${LIBPATH}
+
+ # Install MCU-specific memory and periph maps
+ cp -pr ${ANALYSIS}/ldscripts ${LIBPATH}