diff options
author | tijl <tijl@FreeBSD.org> | 2013-10-23 02:22:52 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-10-23 02:22:52 +0800 |
commit | d393c82d8e849622ae8b47796728a52667761788 (patch) | |
tree | b710a4088a24e53ee49e0ce01ad4f6167ae1db0b /lang | |
parent | 99aeb6e421d16875ce8cdf85f919f2066090cb94 (diff) | |
download | freebsd-ports-gnome-d393c82d8e849622ae8b47796728a52667761788.tar.gz freebsd-ports-gnome-d393c82d8e849622ae8b47796728a52667761788.tar.zst freebsd-ports-gnome-d393c82d8e849622ae8b47796728a52667761788.zip |
Staging support.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sdcc-devel/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/sdcc-devel/Makefile b/lang/sdcc-devel/Makefile index 801c4ade3955..db50bad7fb65 100644 --- a/lang/sdcc-devel/Makefile +++ b/lang/sdcc-devel/Makefile @@ -56,8 +56,7 @@ Z80_CONFIGURE_OFF= --disable-z80 --disable-z80-port \ --disable-z180-port --disable-gbz80-port \ --disable-r2k-port --disable-r3ka-port -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} @@ -67,13 +66,13 @@ post-patch: @${REINPLACE_CMD} '/install:/s/:.*/:/' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/support/sdbinutils/libiberty/Makefile.in -.if empty(PORT_OPTIONS:MDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} 's, [a-z-]*doc,,' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/sim/ucsim/packages_in.mk .endif post-install: - ${FIND} -d ${DATADIR} -type d -empty -delete + ${FIND} -d ${STAGEDIR}${DATADIR} -type d -empty -delete -.include <bsd.port.post.mk> +.include <bsd.port.mk> |