From 980def5025cb480d2454b575d67791282f553ba5 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 4 Oct 2013 18:26:29 +0000 Subject: Correctly install DLLs for Cygwin. The dynamic data library build is still a bit fishy, but this gets it to a mostly usable state at least. --- textproc/icu/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'textproc/icu/Makefile') diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile index b21daf4c9bf..1001761fac7 100644 --- a/textproc/icu/Makefile +++ b/textproc/icu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.84 2013/06/04 06:39:45 adam Exp $ +# $NetBSD: Makefile,v 1.85 2013/10/04 18:26:29 joerg Exp $ DISTNAME= icu4c-51_2-src PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} @@ -47,13 +47,15 @@ CFLAGS.SunOS+= -std=c99 PLIST_SUBST+= MH_NAME=mh-irix .elif ${OPSYS} == "Darwin" PLIST_SUBST+= MH_NAME=mh-darwin +.elif ${OPSYS} == "Cygwin" +PLIST_SUBST+= MH_NAME=mh-cygwin .else # For unknown systems, set the filename to mh-unknown so that the user # gets a warning about missing files. PLIST_SUBST+= MH_NAME=mh-unknown .endif -.if ${OPSYS} == "Darwin" +.if ${OPSYS} == "Darwin" || ${OPSYS} == "Cygwin" INSTALL_UNSTRIPPED= yes .endif @@ -66,4 +68,11 @@ CFLAGS+= -march=i486 . endif .endif +INSTALLATION_DIRS= bin + +.if ${OPSYS} == "Cygwin" +post-install: + mv ${DESTDIR}${PREFIX}/lib/cygicudata.dll ${DESTDIR}${PREFIX}/bin/ +.endif + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3