head 1.2; access; symbols pkgsrc-2014Q1:1.1.0.4 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.2 pkgsrc-2013Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2014.06.08.08.32.10; author obache; state dead; branches; next 1.1; commitid l3zBYEJ5zKFpaHDx; 1.1 date 2013.10.04.18.26.29; author joerg; state Exp; branches; next ; commitid hgURvEc3TYOOo08x; desc @@ 1.2 log @Use Cygwin package way instead of tons patches affect to other platforms. @ text @$NetBSD: patch-config_mh-cygwin,v 1.1 2013/10/04 18:26:29 joerg Exp $ --- config/mh-cygwin.orig 2013-10-03 16:25:57.188493800 +0000 +++ config/mh-cygwin @@@@ -84,12 +84,11 @@@@ IMPORT_LIB_EXT = .dll.a ## Versioned target for a shared library. ## Since symbolic links don't work the same way on Windows, ## we only use the version major number. -#FINAL_SO_TARGET=$(basename $(SO_TARGET))$(SO_TARGET_VERSION).$(SO) -FINAL_SO_TARGET=$(basename $(SO_TARGET))$(SO_TARGET_VERSION_MAJOR).$(SO) +FINAL_SO_TARGET=$(SO_TARGET) MIDDLE_SO_TARGET=$(FINAL_SO_TARGET) IMPORT_LIB = $(subst cyg,lib,$(FINAL_SO_TARGET)).$(A)#M# -MIDDLE_IMPORT_LIB = $(subst cyg,lib,$(basename $(SO_TARGET)))$(SO_TARGET_VERSION_MAJOR).$(SO).$(A)#M# +MIDDLE_IMPORT_LIB = $(IMPORT_LIB)#M# FINAL_IMPORT_LIB = $(IMPORT_LIB)#M# # The following is for Makefile.inc's use. @@@@ -103,6 +102,7 @@@@ ICULIBSUFFIX_VERSION = $(LIB_VERSION_MAJ ## Install libraries as executable INSTALL-L=$(INSTALL_PROGRAM) +DSO_LIBDIR = $(DESTDIR)$(bindir) ## Bind internal references @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ @