[Midnightbsd-cvs] mports [19715] trunk/databases/postgresql90-contrib/Makefile: fix depends

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Aug 11 18:29:28 EDT 2015


Revision: 19715
          http://svnweb.midnightbsd.org/mports/?rev=19715
Author:   laffer1
Date:     2015-08-11 18:29:27 -0400 (Tue, 11 Aug 2015)
Log Message:
-----------
fix depends

Modified Paths:
--------------
    trunk/databases/postgresql90-contrib/Makefile

Modified: trunk/databases/postgresql90-contrib/Makefile
===================================================================
--- trunk/databases/postgresql90-contrib/Makefile	2015-08-11 22:26:18 UTC (rev 19714)
+++ trunk/databases/postgresql90-contrib/Makefile	2015-08-11 22:29:27 UTC (rev 19715)
@@ -4,31 +4,28 @@
 PORTNAME=	postgresql
 PORTREVISION=	0
 CATEGORIES=	databases
-PKGNAMESUFFIX=	-contrib
+PKGNAMESUFFIX?=	${DISTVERSION:R:S/.//}${COMPONENT}
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	The contrib utilities from the PostgreSQL distribution
 
-LIB_DEPENDS=	xslt.2:${PORTSDIR}/textproc/libxslt \
-		xml2.5:${PORTSDIR}/textproc/libxml2
+LIB_DEPENDS=	libxslt.so:${PORTSDIR}/textproc/libxslt \
+		libxml2.so:${PORTSDIR}/textproc/libxml2
 
 USE_PGSQL=	yes
 DEFAULT_PGSQL_VER=90
 MASTERDIR=	${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
 
-USE_BISON=	build
+USES+=		bison pgsql:9.0
 
 BUILD_DIRS=	src/port contrib
 INSTALL_DIRS=	contrib
 
 SLAVE_ONLY=	yes
+COMPONENT=	-contrib
 CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl
-LDFLAGS+=	${PTHREAD_LIBS} -L${PREFIX}/lib
+LDFLAGS+=	-lpthread -L${PREFIX}/lib
 
-OPTIONS_DEFINE=	OSSP_UUID
-OSSP_UUID_DESC=	Enable / disable ossp-uuid support
-OPTIONS_DEFAULT=	OSSP_UUID
-
 post-install:
 	@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
 



More information about the Midnightbsd-cvs mailing list