Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2006 22:00:16 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 99832 for review
Message-ID:  <200606222200.k5MM0GSZ014957@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99832

Change 99832 by gabor@spitfire on 2006/06/22 21:59:16

	Fix my previous submit.  That one only checked PKG_DBDIR if DESTDIR was
	set and only used pkg_info otherwise to determine if the given port
	is already installed, but in this case both method should be used.

Affected files ...

.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#8 edit

Differences ...

==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#8 (text+ko) ====

@@ -3648,7 +3648,7 @@
 						fi; \
 				done; \
 		fi;
-.else
+.endif
 		@if [ -d ${PKG_DBDIR}/${PKGNAME} -o -n "$${found_package}" ]; then \
 				if [ -d ${PKG_DBDIR}/${PKGNAME} ]; then \
 						${ECHO_CMD} "===>   ${PKGNAME} is already installed"; \
@@ -3662,7 +3662,6 @@
 				${ECHO_CMD} "      in your environment or the \"make install\" command line."; \
 				exit 1; \
 		fi
-.endif
 .else
 	@${DO_NADA}
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606222200.k5MM0GSZ014957>