pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tiff-32: Install package to ${PREFIX}/emul/netbsd32



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Thu Jul 18 23:51:42 2019 +0200
Changeset:	0f6da4d0c498d7a255d1e7128f17d6fb1004b703

Modified Files:
	tiff-32/Makefile
	tiff-32/buildlink3.mk

Log Message:
tiff-32: Install package to ${PREFIX}/emul/netbsd32

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0f6da4d0c498d7a255d1e7128f17d6fb1004b703

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tiff-32/Makefile      | 11 ++---------
 tiff-32/buildlink3.mk |  3 ++-
 2 files changed, 4 insertions(+), 10 deletions(-)

diffs:
diff --git a/tiff-32/Makefile b/tiff-32/Makefile
index 31fef5f859..3a766682e2 100644
--- a/tiff-32/Makefile
+++ b/tiff-32/Makefile
@@ -16,25 +16,18 @@ EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 USE_LANGUAGES=		c c++
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
-LIBABISUFFIX?=          /32
-CONFIGURE_ARGS+=        --libdir=${PREFIX}/lib${LIBABISUFFIX}
 CFLAGS+=                -m32
+GNU_CONFIGURE_PREFIX=	${PREFIX}/emul/netbsd32/
 CONFIGURE_ARGS+=	--enable-rpath
 CONFIGURE_ARGS+=	--enable-cxx
-#CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/tiff
-CONFIGURE_ARGS+=        --with-docdir=${PREFIX}/lib${LIBABISUFFIX}
 CONFIGURE_ARGS+=	--without-x # just in case detects gl to build tiffgt
-CONFIGURE_ARGS+=	--bindir=${PREFIX}/lib/${LIBABISUFFIX}
-CONFIGURE_ARGS+=	--includedir=${PREFIX}/lib/${LIBABISUFFIX}
-#CONFIGURE_ARGS+=	--mandir=${PREFIX}/lib/${LIBABISUFFIX}
-GNU_CONFIGURE_MANDIR=	${PREFIX}/lib/${LIBABISUFFIX}
 
 PKGCONFIG_OVERRIDE=	libtiff-4.pc.in
 
 TEST_TARGET=		check
 
 post-install:
-	cd ${DESTDIR}/${PREFIX}/lib/${LIBABISUFFIX}/man3 && for file in *.3tiff; do\
+	cd ${DESTDIR}/${PREFIX}/emul/netbsd32/man/man3 && for file in *.3tiff; do\
 		target=`${ECHO} $$file | sed "s/3tiff/3/"`; \
 		${MV} $$file $$target; \
 	done
diff --git a/tiff-32/buildlink3.mk b/tiff-32/buildlink3.mk
index 723560b8a7..41274ee1a9 100644
--- a/tiff-32/buildlink3.mk
+++ b/tiff-32/buildlink3.mk
@@ -8,7 +8,8 @@ COMPAT32_TIFF_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.compat32_tiff+=	compat32_tiff>=3.6.1
 BUILDLINK_ABI_DEPENDS.compat32_tiff+=	compat32_tiff>=4.0.3nb5
 BUILDLINK_PKGSRCDIR.compat32_tiff?=	../../wip/tiff-32
-BUILDLINK_LIBDIRS.compat32_tiff=	lib/32
+BUILDLINK_LIBDIRS.compat32_tiff=	emul/netbsd32/lib
+BUILDLINK_INCDIRS.compat32_tiff=	emul/netbsd32/include
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../archivers/xz/buildlink3.mk"


Home | Main Index | Thread Index | Old Index