diff options
Diffstat (limited to 'editors/led')
-rw-r--r-- | editors/led/Makefile | 4 | ||||
-rw-r--r-- | editors/led/files/patch-src-modules-perlapi-Makefile | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/editors/led/Makefile b/editors/led/Makefile index 52b88653c417..bb7a2249ab1d 100644 --- a/editors/led/Makefile +++ b/editors/led/Makefile @@ -17,8 +17,4 @@ COMMENT= A tiny text editor, with a number of useful programming features GNU_CONFIGURE= yes USE_PERL5= yes -.if ${MACHINE_ARCH:L} == "amd64" -CFLAGS+= "-fPIC" -.endif - .include <bsd.port.mk> diff --git a/editors/led/files/patch-src-modules-perlapi-Makefile b/editors/led/files/patch-src-modules-perlapi-Makefile new file mode 100644 index 000000000000..c3e4cc52bb53 --- /dev/null +++ b/editors/led/files/patch-src-modules-perlapi-Makefile @@ -0,0 +1,11 @@ +--- src/modules/perlapi/Makefile.orig Mon Mar 22 14:29:51 2004 ++++ src/modules/perlapi/Makefile Mon Mar 22 14:29:59 2004 +@@ -8,7 +8,7 @@ + + include ../Makefile.module + +-CFLAGS+= `perl -MExtUtils::Embed -e ccopts` ++CFLAGS+= `perl -MExtUtils::Embed -e ccopts` -fPIC + XSUBPPDIR= `perl -MConfig -e 'print $$Config{privlib}'`/ExtUtils + XSUBPP= $(XSUBPPDIR)/xsubpp + |