The port is currently a little imprecise: uses post-patch to do "build things". The following patch tidies it up a bit. Fix: PATCH_DEPENDS= upx:${PORTSDIR}/archivers/upx -NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes @@ -27,8 +26,9 @@ post-patch: ${RM} -f ${WRKSRC}/tuncfg/tuncfg + ${LOCALBASE}/bin/upx -d ${WRKSRC}/hamachi +do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/tuncfg/tuncfg ${WRKSRC}/tuncfg/tuncfg.c - upx -d ${WRKSRC}/hamachi post-install: .if !defined(NOPORTDOCS)--Pgu0xfCZl9m7Nh182X5bu3GqcQjDICfyH3SV4zMhMPkOwI6r Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Thu Sep 27 12:00:55 2007 +++ Makefile Tue Oct 2 10:15:26 2007 @@ -17,7 +17,6 @@
garga 2007-10-15 16:38:40 UTC FreeBSD ports repository Modified files: security/hamachi Makefile Log: - Port was building stuffs on post-patch: target, fix it using do build: [1] - Since i'm here, just make it respect PREFIX PR: ports/117106 [1] Submitted by: maintainer [1] Revision Changes Path 1.2 +4 -2 ports/security/hamachi/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with changes, i've added MAKE_ENV line to make it respect PREFIX. Thanks for contributing!!