diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-04-03 18:06:08 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-04-03 18:06:08 +0000 |
commit | e0ee15c1f515396d2573e080af8217b49513c4ba (patch) | |
tree | 868a6a2c694e642744a67d517417c425478eb309 /net/rdesktop | |
parent | 9befe5ba602e94e5b0a81393c469e8dec757cffb (diff) | |
download | ports-e0ee15c1f515396d2573e080af8217b49513c4ba.tar.gz ports-e0ee15c1f515396d2573e080af8217b49513c4ba.zip |
Notes
Diffstat (limited to 'net/rdesktop')
-rw-r--r-- | net/rdesktop/Makefile | 6 |
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 |