aboutsummaryrefslogtreecommitdiff
path: root/devel/libixp
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2009-03-03 18:58:58 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2009-03-03 18:58:58 +0000
commitd355c1693222cea5facd1fc7ecd783cbc08efef6 (patch)
tree11c643bd6ef1c2ecf3087de89858cb73a11bd4f5 /devel/libixp
parent45e5bc018a8bc706f938f968bcc42ea949c67aef (diff)
downloadports-d355c1693222cea5facd1fc7ecd783cbc08efef6.tar.gz
ports-d355c1693222cea5facd1fc7ecd783cbc08efef6.zip
Notes
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