1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Fix the amd64 build (and perhaps other arches which need -fPIC).

Maintainer informed.

Tested on:	amd64 tinderbox
Approved by:	portmgr (linnimon)
This commit is contained in:
Alexander Leidinger 2006-03-05 16:17:53 +00:00
parent 64bf6428bf
commit f18c95d97c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156967
3 changed files with 24 additions and 6 deletions

View File

@ -27,9 +27,15 @@ USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64")
CFLAGS+= -fPIC
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
NO_FILTER_SHLIBS= yes
ALL_TARGET= optshared
MAKE_ENV= BUILDTIME="YES"
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -27,9 +27,15 @@ USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64")
CFLAGS+= -fPIC
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
NO_FILTER_SHLIBS= yes
ALL_TARGET= optshared
MAKE_ENV= BUILDTIME="YES"
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -27,9 +27,15 @@ USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64")
CFLAGS+= -fPIC
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" BUILDTIME="YES"
NO_FILTER_SHLIBS= yes
ALL_TARGET= optshared
MAKE_ENV= BUILDTIME="YES"
.include <bsd.port.mk>
.include <bsd.port.post.mk>