aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libixp
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2009-03-04 02:58:58 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2009-03-04 02:58:58 +0800
commitcdc7c5926fa12ad9efb2c96785142113e350a599 (patch)
tree863c9f70befc8675f22181d70bc36ecd56d48cae /devel/libixp
parent460c625b666b5157df90ec1fd54e12e8b21f6abf (diff)
downloadfreebsd-ports-gnome-cdc7c5926fa12ad9efb2c96785142113e350a599.tar.gz
freebsd-ports-gnome-cdc7c5926fa12ad9efb2c96785142113e350a599.tar.zst
freebsd-ports-gnome-cdc7c5926fa12ad9efb2c96785142113e350a599.zip
- Fix build for amd64
Submitted by: maintainer Reported by: QAT
Diffstat (limited to 'devel/libixp')
-rw-r--r--devel/libixp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/libixp/Makefile b/devel/libixp/Makefile
index 062dd6528a2b..a47068bbfd51 100644
--- a/devel/libixp/Makefile
+++ b/devel/libixp/Makefile
@@ -26,6 +26,8 @@ post-patch:
${WRKSRC}/mk/lib.mk ${WRKSRC}/mk/hdr.mk
@${REINPLACE_CMD} -e 's|\.sowk|.awk|' ${WRKSRC}/mk/hdr.mk
@${REINPLACE_CMD} -e 's|\(echo.*\)AR\(.*\)|\1LD\2|' ${WRKSRC}/mk/lib.mk
+ @${REINPLACE_CMD} -e 's|CFLAGS += $$(DEBUGCFLAGS) -O0 $$(INCS)|& -fPIC|' \
+ ${WRKSRC}/config.mk
@${REINPLACE_CMD} -e 's|VERSION|"${PORTVERSION}.${PORTREVISION}"|' \
${WRKSRC}/cmd/ixpc.c