[Midnightbsd-cvs] mports [19367] trunk/net/linux-f10-openldap/Makefile: make the prefix/ etc directory before trying to create the symlink

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 6 21:14:40 EDT 2015


Revision: 19367
          http://svnweb.midnightbsd.org/mports/?rev=19367
Author:   laffer1
Date:     2015-06-06 21:14:39 -0400 (Sat, 06 Jun 2015)
Log Message:
-----------
make the prefix/etc directory before trying to create the symlink

Modified Paths:
--------------
    trunk/net/linux-f10-openldap/Makefile

Modified: trunk/net/linux-f10-openldap/Makefile
===================================================================
--- trunk/net/linux-f10-openldap/Makefile	2015-06-07 00:36:59 UTC (rev 19366)
+++ trunk/net/linux-f10-openldap/Makefile	2015-06-07 01:14:39 UTC (rev 19367)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openldap
 PORTVERSION=	2.4.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net linux
 MASTER_SITES=	FREEBSD_LOCAL/ehaupt/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}
 PKGNAMEPREFIX=	linux-f10-
@@ -30,6 +30,7 @@
 
 # use a native openldap configuration directories/files
 post-install:
-	${LN} -sf ${LOCALBASE}/etc/openldap ${PREFIX}/etc
+	${MKDIR} ${PREFIX}/etc
+	${LN} -sf ${LOCALBASE}/etc/openldap ${PREFIX}/etc/openldap
 
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list