diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-28 18:41:01 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-28 18:41:01 +0000 |
commit | 4568415fd49991e1ac8b7c4eb525a5e95168b4ce (patch) | |
tree | 5cdf643567787df2ba79eaa11d1a8dc6c0ce3d45 /textproc/gxmlviewer | |
parent | 8572b20f4b6e0da0f1f3d9ca632e68bdcaac55c6 (diff) |
Fix build on AMD64
Notes
Notes:
svn path=/head/; revision=102437
Diffstat (limited to 'textproc/gxmlviewer')
-rw-r--r-- | textproc/gxmlviewer/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile index 99483d40a9a5..a79309d0386e 100644 --- a/textproc/gxmlviewer/Makefile +++ b/textproc/gxmlviewer/Makefile @@ -25,6 +25,10 @@ USE_GNOME= gnomelibs bonobo gnomeprefix GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" +.if ${MACHINE_ARCH:L} == "amd64" +CFLAGS+= -fPIC +.endif + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in |