mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Only the shared library needs to be built with -fPIC
This commit is contained in:
parent
5b694f4b61
commit
31c33906f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104931
2 changed files with 11 additions and 4 deletions
|
@ -17,8 +17,4 @@ COMMENT= A tiny text editor, with a number of useful programming features
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
|
|
||||||
.if ${MACHINE_ARCH:L} == "amd64"
|
|
||||||
CFLAGS+= "-fPIC"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
11
editors/led/files/patch-src-modules-perlapi-Makefile
Normal file
11
editors/led/files/patch-src-modules-perlapi-Makefile
Normal file
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue