summaryrefslogtreecommitdiff
path: root/science/udunits/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-01-22 07:16:45 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-01-22 07:16:45 +0000
commit5a529564079f21dbcc7a2089a5399590fb224d66 (patch)
tree052e3415133229af016d025b4ce21956515cb507 /science/udunits/Makefile
parentMake compilable on 4-stable. (diff)
. Add -fPIC to CFLAGS. This should fix the build on amd64.
Reported by: kris
Diffstat (limited to 'science/udunits/Makefile')
-rw-r--r--science/udunits/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/science/udunits/Makefile b/science/udunits/Makefile
index 96092845fcfe..761c83441771 100644
--- a/science/udunits/Makefile
+++ b/science/udunits/Makefile
@@ -18,6 +18,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
GNU_CONFIGURE= yes
USE_PERL5= yes
+CFLAGS+= -fPIC
+
MAN1= udunits.1 \
udunitsperl.1
MAN3= udunits.3 \