Skip to content
Permalink
Browse files

Fix for Jaguar compiler.

Submitted by:   Shantonu Sen <ssen@opendarwin.org>
Approved by:    Eric Hall (maintainer)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4237 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Shantonu Sen
Shantonu Sen committed Dec 16, 2003
1 parent 4dd3d22 commit daeeee76366bb861a15918f89ec3457dcaec1ee3
Showing with 18 additions and 1 deletion.
  1. +7 −1 net/netcat/Portfile
  2. +11 −0 net/netcat/files/patch-Makefile
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.19 2003/12/16 18:16:46 ssen Exp $
# $Id: Portfile,v 1.20 2003/12/16 22:06:24 ssen Exp $

PortSystem 1.0
name netcat
@@ -30,6 +30,12 @@ checksums md5 402632f2fe01c169ff19a0ad6e9d608c
## into a named directory rather than just into the work/ directory.
pre-extract { system "mkdir -p ${worksrcpath}" }
extract.dir ${worksrcpath}

platform darwin 6 {
# Some version of Darwin 6 don't understand -s when linking
patchfiles-append patch-Makefile
}

configure {}
build.target generic

@@ -0,0 +1,11 @@
--- Makefile.orig Tue Dec 16 14:04:54 2003
+++ Makefile Tue Dec 16 14:05:04 2003
@@ -15,7 +15,7 @@
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
STATIC =
CC = cc $(CFLAGS)
-LD = $(CC) -s # linker; defaults to stripped executables
+LD = $(CC) # linker; defaults to stripped executables
o = o # object extension

ALL = nc

0 comments on commit daeeee7

Please sign in to comment.
You can’t perform that action at this time.