aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-05 03:26:24 +0800
committerantoine <antoine@FreeBSD.org>2014-09-05 03:26:24 +0800
commit59d49e15cacdc386288d1958cdc1c291dcd919bc (patch)
tree7fe589d0d1b0e6d00b7aa9cd05fc46ca15de7655 /devel
parent990841b6170cce720b6df85c358d10065e9a7fa4 (diff)
downloadfreebsd-ports-gnome-59d49e15cacdc386288d1958cdc1c291dcd919bc.tar.gz
freebsd-ports-gnome-59d49e15cacdc386288d1958cdc1c291dcd919bc.tar.zst
freebsd-ports-gnome-59d49e15cacdc386288d1958cdc1c291dcd919bc.zip
Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous situation This allows to stage more ports as a regular user Differential Revision: https://reviews.freebsd.org/D703 Reviewed by and discussed with: bapt With hat: portmgr
Diffstat (limited to 'devel')
-rw-r--r--devel/dprog/files/patch-Makefile.in16
-rw-r--r--devel/gamin/Makefile1
-rw-r--r--devel/gsoap/Makefile1
-rw-r--r--devel/inilib/Makefile3
-rw-r--r--devel/libavl/Makefile3
-rw-r--r--devel/libdap/files/patch-tests-Makefile.in11
-rw-r--r--devel/libslang2/Makefile2
-rw-r--r--devel/libtai/Makefile3
-rw-r--r--devel/msp430-gcc/files/patch-libgcc-Makefile.in26
-rw-r--r--devel/ncurses/Makefile1
-rw-r--r--devel/ncurses/files/patch-no-double-ranlib10
-rw-r--r--devel/sdts++/files/patch-sysutils__Makefile.in11
-rw-r--r--devel/yasm/Makefile3
13 files changed, 1 insertions, 90 deletions
diff --git a/devel/dprog/files/patch-Makefile.in b/devel/dprog/files/patch-Makefile.in
index 477714d0de1d..b819f9e093d8 100644
--- a/devel/dprog/files/patch-Makefile.in
+++ b/devel/dprog/files/patch-Makefile.in
@@ -27,19 +27,3 @@
cxx_dprog_test_LDFLAGS =
am_dprog_OBJECTS = lexer.$(OBJEXT) parser.$(OBJEXT) ast.$(OBJEXT) \
pretty_printer.$(OBJEXT) range_checking.$(OBJEXT) \
-@@ -315,6 +315,7 @@
- @list='$(lib_LIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
-+ $(RANLIB) $$p; \
- echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \
- $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \
- else :; fi; \
-@@ -324,7 +325,6 @@
- if test -f $$p; then \
- p="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
-- $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
- else :; fi; \
- done
-
diff --git a/devel/gamin/Makefile b/devel/gamin/Makefile
index bbe7fb1d9b47..485995d99972 100644
--- a/devel/gamin/Makefile
+++ b/devel/gamin/Makefile
@@ -53,7 +53,6 @@ CPPFLAGS+= -DRUN_AS_EUID=1
post-patch:
@${REINPLACE_CMD} "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/server/gam_conf.c
- @${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/lib/Makefile.in
.if !defined(GAMIN_SLAVE)
regression-test: build
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index a4bde4c1c70d..7933c7bdbb39 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -42,7 +42,6 @@ post-patch:
-e 's|-DSOAPCPP_IMPORT_PATH=|-DSOAPCPP2_IMPORT_PATH=|' \
-e 's|-DWSDL_IMPORT_PATH=|-DWSDL2H_IMPORT_PATH=|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
- ${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/gsoap/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gsoap
diff --git a/devel/inilib/Makefile b/devel/inilib/Makefile
index dc561e23d0fe..1fc2ce4f8882 100644
--- a/devel/inilib/Makefile
+++ b/devel/inilib/Makefile
@@ -11,7 +11,4 @@ COMMENT= C++ lib which provides a method of saving the "state" of a program
GNU_CONFIGURE= yes
-post-patch:
- ${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/src/Makefile.in
-
.include <bsd.port.mk>
diff --git a/devel/libavl/Makefile b/devel/libavl/Makefile
index 28cc2bcbb5a9..394a5a4b51fa 100644
--- a/devel/libavl/Makefile
+++ b/devel/libavl/Makefile
@@ -15,7 +15,4 @@ GNU_CONFIGURE= yes
INFO= avl
-post-patch:
- ${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/Makefile.in
-
.include <bsd.port.mk>
diff --git a/devel/libdap/files/patch-tests-Makefile.in b/devel/libdap/files/patch-tests-Makefile.in
deleted file mode 100644
index d5d1f13748b4..000000000000
--- a/devel/libdap/files/patch-tests-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- tests/Makefile.in.orig 2014-04-25 02:36:57.000000000 +0800
-+++ tests/Makefile.in 2014-04-29 09:42:04.506722750 +0800
-@@ -868,7 +868,7 @@
- if test -f $$p; then \
- $(am__strip_dir) \
- echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \
-- ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \
-+ ( cd "$(DESTDIR)$(libdir)" && chmod u+w $$f && $(RANLIB) $$f && chmod u-w $$f) || exit $$?; \
- else :; fi; \
- done
-
diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile
index 7674a578f427..b96d187ffff3 100644
--- a/devel/libslang2/Makefile
+++ b/devel/libslang2/Makefile
@@ -58,8 +58,6 @@ post-patch:
@${REINPLACE_CMD} -e 's, install[_-]docs,,g; /MKINSDIR.*DEST_SLSH_DOC_DIR/d' \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/slsh/Makefile.in
- @${REINPLACE_CMD} -e '/RANLIB.*DEST_LIBDIR/d' \
- ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's,INSTALL_MODULE,INSTALL_LIB,g' \
${WRKSRC}/modules/Makefile.in
diff --git a/devel/libtai/Makefile b/devel/libtai/Makefile
index 4cc2e1419e09..e3e70bccc82b 100644
--- a/devel/libtai/Makefile
+++ b/devel/libtai/Makefile
@@ -51,8 +51,7 @@ post-build:
${WRKSRC}/leapsecs.dat
do-install:
- ${INSTALL_DATA} -m 644 \
- ${WRKSRC}/leapsecs.dat ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/leapsecs.dat ${STAGEDIR}${PREFIX}/etc
.for i in ${MAN_FILES}
${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man3
.endfor
diff --git a/devel/msp430-gcc/files/patch-libgcc-Makefile.in b/devel/msp430-gcc/files/patch-libgcc-Makefile.in
deleted file mode 100644
index 16eed4be1f7d..000000000000
--- a/devel/msp430-gcc/files/patch-libgcc-Makefile.in
+++ /dev/null
@@ -1,26 +0,0 @@
---- libgcc/Makefile.in.orig 2011-01-26 07:19:58.000000000 +0300
-+++ libgcc/Makefile.in 2012-04-08 17:22:26.000000000 +0400
-@@ -878,6 +878,7 @@
- $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \
- case $$file in \
- *.a) \
-+ chmod 644 $(gcc_objdir)$(MULTISUBDIR)/$$file ; \
- $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \
- esac; \
- done
-@@ -915,6 +916,7 @@
- $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \
- case $$file in \
- *.a) \
-+ chmod 644 $(gcc_objdir)$(MULTISUBDIR)/$$file ; \
- $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \
- esac; \
- done
-@@ -974,6 +976,7 @@
- $(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \
- case $$file in \
- *.a) \
-+ chmod 644 $(gcc_objdir)$(MULTISUBDIR)/$$file ; \
- $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \
- esac; \
- done
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index c682a2c465de..062e7cf7df98 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -17,7 +17,6 @@ LICENSE= MIT
RELEASE= 5.9
-SHAREMODE= 0644
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT=../configure
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
diff --git a/devel/ncurses/files/patch-no-double-ranlib b/devel/ncurses/files/patch-no-double-ranlib
deleted file mode 100644
index 7698d71054f3..000000000000
--- a/devel/ncurses/files/patch-no-double-ranlib
+++ /dev/null
@@ -1,10 +0,0 @@
---- mk-1st.awk.orig 2010-08-07 22:42:30.000000000 +0200
-+++ mk-1st.awk 2013-11-05 16:30:42.386549863 +0100
-@@ -439,7 +439,6 @@
- symlink("libncurses.a", "libcurses.a")
- printf ")\n"
- }
-- printf "\t$(RANLIB) $(DESTDIR)$(libdir)/%s\n", lib_name
- if ( host == "vxworks" )
- {
- printf "\t@echo installing ../lib/lib%s$o as $(DESTDIR)$(libdir)/lib%s$o\n", name, name
diff --git a/devel/sdts++/files/patch-sysutils__Makefile.in b/devel/sdts++/files/patch-sysutils__Makefile.in
deleted file mode 100644
index 76151f3fe1f8..000000000000
--- a/devel/sdts++/files/patch-sysutils__Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- sysutils/Makefile.in.orig 2003-06-10 22:47:15.000000000 +0400
-+++ sysutils/Makefile.in 2014-07-02 21:51:45.000000000 +0400
-@@ -216,8 +216,6 @@
- @list='$(lib_LIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
- p="`echo $$p | sed -e 's|^.*/||'`"; \
-- echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
-- $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
- else :; fi; \
- done
-
diff --git a/devel/yasm/Makefile b/devel/yasm/Makefile
index 5b36b7a342c4..ef456ad453af 100644
--- a/devel/yasm/Makefile
+++ b/devel/yasm/Makefile
@@ -32,7 +32,4 @@ CONFIGURE_ARGS+=--disable-nls --without-libiconv-prefix --without-libintl-prefix
INSTALL_TARGET= install install-man
-post-patch:
- @${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/Makefile.in
-
.include <bsd.port.mk>