From owner-svn-ports-all@FreeBSD.ORG Thu Jun 19 09:34:59 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AAD871EC; Thu, 19 Jun 2014 09:34:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BF992B46; Thu, 19 Jun 2014 09:34:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5J9YxZ5026853; Thu, 19 Jun 2014 09:34:59 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5J9YxSW026850; Thu, 19 Jun 2014 09:34:59 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406190934.s5J9YxSW026850@svn.freebsd.org> From: "Vanilla I. Shu" Date: Thu, 19 Jun 2014 09:34:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358369 - in head/math/reed-solomon: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 09:34:59 -0000 Author: vanilla Date: Thu Jun 19 09:34:58 2014 New Revision: 358369 URL: http://svnweb.freebsd.org/changeset/ports/358369 QAT: https://qat.redports.org/buildarchive/r358369/ Log: Stagify. Approved by: portmgr@ Modified: head/math/reed-solomon/Makefile head/math/reed-solomon/files/patch-makefile.in head/math/reed-solomon/pkg-plist Modified: head/math/reed-solomon/Makefile ============================================================================== --- head/math/reed-solomon/Makefile Thu Jun 19 09:29:05 2014 (r358368) +++ head/math/reed-solomon/Makefile Thu Jun 19 09:34:58 2014 (r358369) @@ -14,9 +14,6 @@ USES= gmake USE_LDCONFIG= yes MAKEFILE= makefile -MAN3= rs.3 - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/makefile.in Modified: head/math/reed-solomon/files/patch-makefile.in ============================================================================== --- head/math/reed-solomon/files/patch-makefile.in Thu Jun 19 09:29:05 2014 (r358368) +++ head/math/reed-solomon/files/patch-makefile.in Thu Jun 19 09:34:58 2014 (r358369) @@ -1,6 +1,6 @@ ---- makefile.in.orig Wed Jun 29 16:52:23 2005 -+++ makefile.in Wed Jun 29 16:57:01 2005 -@@ -7,7 +7,7 @@ +--- makefile.in.orig 2002-02-13 10:27:56.000000000 +0800 ++++ makefile.in 2014-06-19 17:31:43.462706589 +0800 +@@ -7,7 +7,7 @@ exec_prefix=@exec_prefix@ VPATH = @srcdir@ CC=@CC@ @@ -9,29 +9,100 @@ LIB= encode_rs_char.o encode_rs_int.o encode_rs_8.o \ decode_rs_char.o decode_rs_int.o decode_rs_8.o \ -@@ -24,20 +24,17 @@ - gcc -g -o $@ $^ +@@ -21,47 +21,44 @@ test: rstest + + rstest: rstest.o exercise_int.o exercise_char.o exercise_8.o exercise_ccsds.o \ + librs.a +- gcc -g -o $@ $^ ++ $(CC) -g -o $@ $^ install: all - mkdir -p @libdir@ - install -D -m 644 -p librs.a librs.so.@SO_VERSION@ @libdir@ -+ $(BSD_INSTALL_DATA) librs.a @libdir@ -+ $(BSD_INSTALL_PROGRAM) librs.so.@SO_VERSION@ @libdir@ - (cd @libdir@;ln -f -s librs.so.@SO_VERSION@ librs.so) +- (cd @libdir@;ln -f -s librs.so.@SO_VERSION@ librs.so) - ldconfig - mkdir -p @includedir@ - install -m 644 -p rs.h @includedir@ - mkdir -p @mandir@/man3 - install -m 644 rs.3 @mandir@/man3 -+ $(BSD_INSTALL_DATA) rs.h @includedir@ -+ $(BSD_INSTALL_MAN) rs.3 @mandir@/man3 ++ $(BSD_INSTALL_DATA) librs.a $(DESTDIR)@libdir@ ++ $(BSD_INSTALL_PROGRAM) librs.so.@SO_VERSION@ $(DESTDIR)@libdir@ ++ ln -sf librs.so.@SO_VERSION@ $(DESTDIR)@libdir@/librs.so ++ $(BSD_INSTALL_DATA) rs.h $(DESTDIR)@includedir@ ++ $(BSD_INSTALL_MAN) rs.3 $(DESTDIR)@mandir@/man3 librs.a: $(LIB) ar rv $@ $^ librs.so.@SO_VERSION@: librs.a - gcc -shared -Xlinker -soname=librs.so.@SO_NAME@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc -+ gcc -shared -fPIC -Xlinker -soname=librs.so.@SO_NAME@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc ++ $(CC) -shared -fPIC -Xlinker -soname=librs.so.@SO_NAME@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc encode_rs_char.o: encode_rs.c - gcc $(CFLAGS) -c -o $@ $^ +- gcc $(CFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + encode_rs_int.o: encode_rs.c +- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ + + encode_rs_8.o: encode_rs.c +- gcc -DFIXED=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DFIXED=1 $(CFLAGS) -c -o $@ $^ + + decode_rs_char.o: decode_rs.c +- gcc $(CFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + decode_rs_int.o: decode_rs.c +- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ + + decode_rs_8.o: decode_rs.c +- gcc -DFIXED=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DFIXED=1 $(CFLAGS) -c -o $@ $^ + + init_rs_char.o: init_rs.c +- gcc $(CFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + init_rs_int.o: init_rs.c +- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ + + ccsds_tab.o: ccsds_tab.c + +@@ -69,10 +66,10 @@ ccsds_tab.c: gen_ccsds + ./gen_ccsds > ccsds_tab.c + + gen_ccsds: gen_ccsds.o init_rs_char.o +- gcc -o $@ $^ ++ $(CC) -o $@ $^ + + gen_ccsds.o: gen_ccsds.c +- gcc $(CFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + ccsds_tal.o: ccsds_tal.c + +@@ -80,16 +77,16 @@ ccsds_tal.c: gen_ccsds_tal + ./gen_ccsds_tal > ccsds_tal.c + + exercise_char.o: exercise.c +- gcc $(CFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + exercise_int.o: exercise.c +- gcc -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DBIGSYM=1 $(CFLAGS) -c -o $@ $^ + + exercise_8.o: exercise.c +- gcc -DFIXED=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DFIXED=1 $(CFLAGS) -c -o $@ $^ + + exercise_ccsds.o: exercise.c +- gcc -DCCSDS=1 $(CFLAGS) -c -o $@ $^ ++ $(CC) -DCCSDS=1 $(CFLAGS) -c -o $@ $^ + + + clean: Modified: head/math/reed-solomon/pkg-plist ============================================================================== --- head/math/reed-solomon/pkg-plist Thu Jun 19 09:29:05 2014 (r358368) +++ head/math/reed-solomon/pkg-plist Thu Jun 19 09:34:58 2014 (r358369) @@ -2,3 +2,4 @@ include/rs.h lib/librs.a lib/librs.so lib/librs.so.4.0.0 +man/man3/rs.3.gz