summaryrefslogtreecommitdiff
path: root/net/rdesktop
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-04-03 18:06:08 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-04-03 18:06:08 +0000
commite0ee15c1f515396d2573e080af8217b49513c4ba (patch)
tree868a6a2c694e642744a67d517417c425478eb309 /net/rdesktop
parentTidy up ``import'' statements to avoid warnings by the latest Python-2.2. (diff)
Fix LDFLAG to for libgmp depend
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=57265
Diffstat (limited to 'net/rdesktop')
-rw-r--r--net/rdesktop/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile
index 09b5edda21d3..99f0bb63f55d 100644
--- a/net/rdesktop/Makefile
+++ b/net/rdesktop/Makefile
@@ -35,8 +35,10 @@ LIB_DEPENDS= gmp.4:${PORTSDIR}/math/libgmp3
do-patch:
@${EXTRACT_CMD} -dc ${_DISTDIR}/${PATCHFILES} | \
${PATCH} ${PATCH_DIST_ARGS}
-.if ${OSVERSION} >= 500023
- @${PERL} -pi.orig -e 's:-O2.*-Wall:${CFLAGS} -I${PREFIX}/include:g' \
+.if ${OSVERSION} > 500023
+ @${PERL} -pi.orig -e 's:-O2.*-Wall:${CFLAGS} -I${LOCALBASE}/include:g' \
+ ${WRKSRC}/Makefile
+ @${PERL} -pi.orig -e 's:-lgmp:-L${LOCALBASE}/lib -lgmp:g' \
${WRKSRC}/Makefile
.else
@${PERL} -pi.orig -e 's:-O2.*-Wall:${CFLAGS}:g' ${WRKSRC}/Makefile