freebsd-ports/lang/caml-light/files/patch-contrib_libnum_bignum_Makefile
Joseph Koshy 02e454d15d - Honor CC, CFLAGS etc. [1]
- Use BSD_INSTALL_* macros to install files.	[1]
- Make the port PREFIX clean.

PR:		ports/101398	[1]
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru>
2006-08-06 10:53:54 +00:00

20 lines
809 B
Text

--- contrib/libnum/bignum/Makefile.orig Sat Aug 5 10:03:23 2006
+++ contrib/libnum/bignum/Makefile Sat Aug 5 10:05:03 2006
@@ -4,7 +4,7 @@
# modified_on Thu Nov 2 14:23:14 GMT+1:00 1989 by gangnet
# modified_on Wed Jul 5 10:23:54 GMT+2:00 1989 by bertin
-CC = cc
+#CC = cc
AR = ar
RANLIB = ranlib
RANLIBTEST=test -f /usr/bin/ranlib -o -f /bin/ranlib
@@ -327,7 +327,7 @@
rm -f bignum.00.shar
$(SENDMAIL) $(SENDMAILFLAGS) $(USER) <tosend
for i in `ls bignum.[0-9][0-9].shar`; \
- do cp sendmail_header tosend; \
+ do ${BSD_INSTALL_DATA} sendmail_header tosend; \
echo $$i | sed -e "s/^bignum0*/Subject: BigNum - Part /" >>tosend; \
echo "# Remove all text above and including this line." >>tosend; \
sed -e "s/modified_on/modified_on/g" <$$i >>tosend; \