PERFORCE change 99832 for review

Gabor Kovesdan gabor at FreeBSD.org
Thu Jun 22 22:53:14 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=99832

Change 99832 by gabor at 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


More information about the p4-projects mailing list