[fink:package-submissions] #5050 telnet-54.50.1-2 to build skinny binaries

Alexander Hansen via Fink-tracker <[email protected]> Wed, 25 Oct 2017 23:08:36 +0000
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/5050/86611e3cfea6268374affb0737c66ce52bb00cda.package-submissions@fink.p.sourceforge.net>
- **status**: open --> closed-accepted
- **Group**: Undergoing_Validation --> Added_to_Fink



---

** [package-submissions:#5050] telnet-54.50.1-2 to build skinny binaries**

**Status:** closed-accepted
**Group:** Added_to_Fink
**Created:** Wed Oct 25, 2017 10:52 PM UTC by Jack Howarth
**Last Updated:** Wed Oct 25, 2017 11:08 PM UTC
**Owner:** Alexander Hansen
**Attachments:**

- [telnet.info](https://sourceforge.net/p/fink/package-submissions/5050/attachment/telnet.info) (1.6 kB; application/octet-stream)


The following Info file changes eliminates the building of fat binaries in the telnet package...

~~~
Index: telnet.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/net/telnet.info,v
retrieving revision 1.2
diff -u -r1.2 telnet.info
--- telnet.info	25 Oct 2017 15:40:38 -0000	1.2
+++ telnet.info	25 Oct 2017 22:49:40 -0000
@@ -1,6 +1,6 @@
 Package: telnet
 Version: 54.50.1
-Revision: 1
+Revision: 2
 Distribution: 10.13
 BuildDepends: xcode.app
 Source: https://opensource.apple.com/tarballs/remote_cmds/remote_cmds-%v.tar.gz
@@ -12,6 +12,8 @@
 #!/bin/sh -ev
 perl -pi -e "s|-DFORWARD |-DFORWARD -I.|g" Makefile
 perl -pi -e "s|-ltelnet|../../libtelnet-13/build/Release/libtelnet.a|g" Makefile
+perl -pi -e "s|ARCHS_STANDARD_32_64_BIT|ARCHS_STANDARD|g" ../../libtelnet-13/libtelnet.xcodeproj/project.pbxproj
+echo "RC_ARCHS = x86_64" >> Makefile
 ln -s ../../libtelnet-13 libtelnet 
 cp ../APPLE_LICENSE APPLE_LICENSE
 cp ../../libtelnet-13/LICENSE LICENSE
~~~

Tested on 10.13 with 'fink -m'.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker