1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

Set -fPIC in the correct way.

Maintainer informed.

Reminded by:	kris
No cookie for:	me
This commit is contained in:
Clement Laforet 2004-03-22 21:29:42 +00:00
parent ac58787e5e
commit 6b619625ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104984
2 changed files with 11 additions and 2 deletions

View File

@ -35,6 +35,4 @@ MAN1= pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 \
MAN5= pkcs15-profile.5
MAN7= pkcs15.7 opensc.7
CFLAGS+= -fPIC
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- src/scrandom/Makefile.in.orig Sat Jan 31 06:36:49 2004
+++ src/scrandom/Makefile.in Sat Jan 31 06:37:20 2004
@@ -157,7 +157,7 @@
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -fPIC
DIST_SOURCES = $(libscrandom_a_SOURCES) $(test_random_SOURCES)
HEADERS = $(include_HEADERS)